Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include RECNO() in SQL statement
Message
From
02/08/2006 04:07:37
 
 
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:
01142305
Views:
14
>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?

RECNO(), without alias, it is reliable only in projection list and
when the FROM have 1 table only.

A example, where it fail:
select *, recno('renametable') as Rec1 from table1 renametable into cursor tmp1
Previous
Reply
Map
View

Click here to load this message in the networking platform