I have created the following code. I am just trying to return a variable in a report.
The two tables are the tables in my report the variable I am trying to get is in the main table and I want to use it on a line in the body of the secondary table.
IF [Item Ledger Entry]."Item No_" THEN BEGIN
PubDateV := [Item]."Publication Date";
End;
I get the error ""A value or expression was expected." For example
100
myvar
myvar = 100
Thanks for your help
0
Comments
Example
IF [Item Ledger Entry]."Item No_" = 'ITEM' THEN
...{do this]
If you are trying to see whether "Item No_" contains a value, use a function like to check it
Ex:
There could be other ways also. Main point here is the IF statement expects a BOOLEAN result. TRUE or FALSE
Any other suggestions.
Barb
"Item Ledger Entry"."Item No." ??
Am I missing something?
Lets see your code & error messages. And I agree with kapamarou
I was wondering the same thing (syntax?).
http://www.BiloBeauty.com
http://www.autismspeaks.org
proforma Boolean
aux Text
To turn around this problem I tried to create a column and with a/c code I set the column value depending of a boolean
anyone can help?
Is ReportTitle a Global Variable ? What type?