Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display RECNO() from SELECT-SQL
Message
From
12/02/2000 15:24:50
 
 
To
12/02/2000 12:35:21
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00331332
Message ID:
00331362
Views:
15
>Terry,
>
>This is off-the-wall and I haven't tested it, but what about this:
>
>SELECT RECNO('invoice') AS invrec, a.fname, a.lname, b.invoice FROM Customer a, Invoice b WHERE a.num = b.num INTO CURSOR lcTest
>
>Note the change to how RECNO() is being used.
>
>

John/Mike:

I'm surprised at you guys! < BG > You know you can't use an alias name in a SQL SELECT statement for RECNO(). It's clearly stated in the docs.

John, your solution to do it in two parts will work.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform