Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT & recno()
Message
De
16/12/1998 16:53:49
 
 
À
16/12/1998 14:59:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00168223
Message ID:
00168296
Vues:
34
This is a kludge but it works. Except in the case of a select from only one table, there is no way to get the correct recno(). Try this, however:

select *,recno() as rn1 from table1 into cursor tabl1
select *,recno() as rn2 from table2 into cursor tabl2
...
...
...

Now do the same multiple table select as you would have only using tabl1, tabl2, etc. rather than the original tables. The resulting cursor/table will have the correct record numbers from the base tables as rn1, rn2, etc.
HTH

>Is there any way to have SELECT selects RECNO()? TO make it harder I have more then one table in this SELECT statement.
>TIA Mark
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform