Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
& Macro substition
Message
 
 
To
30/07/2002 15:07:43
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00684123
Message ID:
00684136
Views:
20
There's no reason to use macro substitution in this case
lvFieldName = EVAL(THIS._cAlias + "." + tcFieldName)
In most cases EVALUTAE() function or Name Expression can be used and should be used instead of macro substitution.

>Hi
>
>Presently I have the following statement which stores the value of a table field into a local variable:
>
>lvFieldName = &tcFieldName
>
>I would like to add after the table name to this macro statement, or use the evaluate command. The name of my table is storder in a form propert called _cAlias.
>
>I have tried several combinations, but VFP doesn;t seem to recognize my syntax.
>
>I have tried
>
>lvFieldName=&THIS._cAlias..tcFieldName (VFP doesn't like this one.)
>
>Supposedly , it can also be done with Evaluate() !
>
>Can anyone correct me on the syntax?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform