Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Comparaison
Message
 
À
19/04/2001 19:08:42
N. Lea
Nic Cross Enterprises
Valencia, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00497635
Message ID:
00497643
Vues:
9
>Is there a possible way to get away from SQL Statements?

Sure, but I don't know why you'd want to do that. You can do the whole thing with 1 line of code vs doing a bunch of scan/seeks.

Oh well... Actually you can do it without a bunch of scan/seeks, if all you want to do is count.

Assuming that table2 is already indexed on inv_no:
select table1
set relation to inv_no into table2
count for not found("table2") to lnTotal
set relation to
How's that?

--Brad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform