Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include RECNO() in SQL statement
Message
 
To
02/08/2006 03:00:40
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01142300
Message ID:
01142302
Views:
13
>Dear ALL,
>
>I would like to include the recno of individual record by
>
>select *, recno('table1') as Rec1 from table1 into cursor tmp1
>
>
>instead of the Record No., it appeared as total record count. Any idea?

Don't use ALIAS in RecNo():
select *, recno() as Rec1 from table1 into cursor tmp1
Not a good idea to use RECNO(). Why you need it?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform