Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Expansion Inconsistent
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00902380
Message ID:
00902381
Views:
18
Zakaria,

What's the value of stored in cTafellx variable at the time of error? Do you've field named cTafellx in the table you work on? BTW, you don't need macro substitution in this case.
REPLACE ALL lx WITH EVALUATE("SterfteTabel." + m.cTafellx)
>Hello,
>
>I have code with Macro Expansion. I have noticed that the code doesn't execute always properly, sometimes is gives an error : "Command contains unrecognized phrase/keyword" . I use the next code :
>
>
>cTafellx = "gbm6165lx"
>REPLACE ALL lx WITH SterfteTabel.&cTafellx
>
>Could someone explain me what I'm doing wrong, and if there are better methods to achieve the above.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform