Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Name expressions vs macro substitution
Message
From
01/12/2000 11:42:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00447850
Message ID:
00448124
Views:
12
>After reading the faq on this subject I expected the following line of code to work but it doesn't... replace (cField) with (cField) + 1

Is "New" the name of the field? The problem is, its using "New" as a string, thats why the first use works (can you're pointing to a field name) and the second one doesn't (you probably want the value of the "new" field). So Evaluate(cField) to go a level between () and &.

Here's another reference,
http://fox.wikis.com/wc.dll?Wiki~MacroReplacement~VFP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform