Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT & recno()
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00168223
Message ID:
00168309
Views:
21
Mark,

Multitable selects can not use functions that accept alias arguments. The function is not evaluated like you think it should be.

>I tried manually assigning an alias with:
>
>select a.field1, a.recno("a") as RecNo1,... from table1 a, table2 b where ...
>
>That only returned the correct recno() for alias B, the recno returned for alias A was always 1. Interesting. I tried doing this with deleted() as well trying to resolve another problem with parameterized views not bringing over the deleted marker if set deleted is off. :(
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform