Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include RECNO() in SQL statement
Message
De
02/08/2006 04:07:37
 
 
À
02/08/2006 03:00:40
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01142300
Message ID:
01142305
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform