Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List of tables in a database
Message
From
07/02/2000 18:43:03
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
 
To
07/02/2000 18:20:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00328554
Message ID:
00328568
Views:
19
Hi Gnana,

You could try something like this ( with appropriate error checking of course ).
CLOSE DATA ALL

USE ????????.dbc

SCAN FOR UPPER(objecttype) = "TABLE"
    SELECT 0
    USE (aTableList[nLoop,1]) EXCLUSIVE
    PACK
    USE
ENDSCAN


Regards,
   Gavin...
>If I have to iterate through all the tables in the database and pack them all, is there a simple command to do it? If not, what command would I use to obtain the list of tables in a database, so I could iterate them.
>
>Thanx
>Gnana
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform