Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error missing operand and macro
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00929995
Message ID:
00929996
Views:
8
This message has been marked as the solution to the initial question of the thread.
You mistyped varibale name, '&Alias' instead of '&cAlias' . Anyway, you don't need macro substitution in this case.
IF oldval( "MYFIELD", cAlias ) == EVAL(cAlias + ".MYFIELD")
>Could someone tell me why I get error "missing operand" in the following code:
>
>
>cAlias = "MYALIAS"
>IF oldval( "MYFIELD", cAlias ) == &Alias..MYFIELD   && Error!
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform