Bullfrog1870
Technical User
I have a parameter that the user enters (OrderSalesLimit). I'm wanting the report header to say: "There were (x) orders with a sales limit of or greater."
I tried the following but it did not work. It only ever shows a value of 1.
Global NumberVar iCounter;
whileprintingRecords;
if {OrderTotal} > {?OrderSalesLimit} then iCounter := iCounter + 1;
"There were " + ToText(iCounter) + " orders with a sales limit of " + ToText({?OrderSalesLimit}) + " or greater."
Thoughts?
CR11/SQL2K/ODBC
I tried the following but it did not work. It only ever shows a value of 1.
Global NumberVar iCounter;
whileprintingRecords;
if {OrderTotal} > {?OrderSalesLimit} then iCounter := iCounter + 1;
"There were " + ToText(iCounter) + " orders with a sales limit of " + ToText({?OrderSalesLimit}) + " or greater."
Thoughts?
CR11/SQL2K/ODBC