Try to use follow code:
o.cFORExpression = 'field=' + '"' + abcd + '"'
or (in a case if field is numerical)
o.cFORExpression = 'field=' + ALLTRIM(STR(abcd))
HTH
Greetings to All!
I'm testing FRX2Any 10.0 (their latest and greatest) and have a bit of a problem. For the most part, it works without a hitch. However, I've reports that basically utilize a 'FOR' clause. I've coded the following:
o.cFORExpression =
= condition via passed parameter (i.e. 'field=abcd')
The report is created but is blank. The data exists matching the criteria, I checked myself. What is the problem? The same happens for cWHILEExpression as well.
Help would be greatly appreciated! I'm 98% done with the program aside this issue, so you can relate to my frustration :)
Thank you,
Vernon