Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MDot / By design
Message
De
09/01/2004 07:07:09
 
 
À
09/01/2004 05:55:02
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00863704
Message ID:
00865381
Vues:
43
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform