[PythonReports-users] if / else for a field value
Brought to you by:
a1s
From: Werner F. B. <wer...@fr...> - 2013-01-01 11:11:55
|
Hi, I hope you got well into the New Year! In some of my reports I have conditional values, how could I do this in PythonReports: if ru.oCurrentvalue: # variable defined on an import alias "ru" currentvalue # variable from report data set else: lastpurchaseprice # variable from report data set Werner |