Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unusual substitution syntax
Message
 
 
To
18/01/2004 05:01:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00867888
Message ID:
00867927
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform