Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unusual substitution syntax
Message
 
 
À
18/01/2004 05:01:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00867888
Message ID:
00867927
Vues:
16
Fabio,

In any SELECT-SQL that involves only a single table the native functions that take a table alias as an argument can all be used without any problems. Provided that you are not trying to use an alias that differs from the table involved in the SELECT-SQL.

If the SELECT-SQL involves two or more tables then these functions can not be used.

>On SELECT-SQL VFP not resolve context alias on DELETED(alias),RECNO(alias),RECCOUNT(alias)... functions.
>Then is hard to use they.
>
>For simple one table ( without grouping ) you can use RECNO(),
>then ( the select code is orrible, but do the operation ):
>
>SELECT * FROM myDBF X WHERE recno() = recno('myDBF')
>
>recno() && this refer to X
>recno('myDBF') && this refer to myDBF workarea and is fixed during the select
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform