General information
Category:
Reports & Report designer
Hi,
I run a report and get a cursor and one of the fields (mMessage) is a memo field that contains something like this:
'Customers in the list are being evaluated, the Customer Name is '+RTRIM(cName)+' and is active'
where cName is another field in the cursor. The string is actually much bigger but I made it smaller for the example.
So in my report I add a field and in the expression I write 'EVAL(mMessage)' and this is when it gets funky.
First, the example above works, but if I move the RTRIM() command to another place like this:
'Customers in the list '+RTRIM(cName)+' are being evaluated, the Customer Name is and is active'
then I get an "Command contains unrecognized phrase/keyword", furthermore if I just do a straight string:
'Customers in the list are being evaluated, the Customer Name is and is active'
I also get the same error. Why would it work with the first example and not the other 2?
Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only