Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Comparaison
Message
 
To
19/04/2001 19:08:42
N. Lea
Nic Cross Enterprises
Valencia, California, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00497635
Message ID:
00497643
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform