Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MDot / By design
Message
From
09/01/2004 07:07:09
 
 
To
09/01/2004 05:55:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00863704
Message ID:
00865381
Views:
42
Hi Thomas,

------------
if m.llIwannaAcessATable
select MyTableWithFieldReadMe
else
Select 0
endif
lcMyErg = cReadMe
----------
Preface, a more clear code is:
if m.llIwannaAcessATable
    lcMyErg = MyTableWithFieldReadMe.cReadMe
else
     lcMyErg = m.cReadMe
endif
Hovewer, when SET COMP... ON, and
lcMyErg = cReadMe
is found, the compiler put on the log file a warnings
WARNINGS : FILE ... PROCEDURE ... LINE .... Reference name "cReadMe" is ambiguous
If the application use random cursor alias name and fields name is not written on the code but on var strings to evaluate, it is not useful.

More useful is the SET .. TO file at runtime.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform