Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Extract Table Structures into Excel File
Message
From
08/04/2004 11:27:10
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00893261
Message ID:
00893279
Views:
17
>Does anyone know of a way to extract a database of its tables structures such as table name, table index, table field datatype?


I do that to print a struct listing of tables
SET SAFETY OFF
OPEN DATABASE (lcSource)  NOUPDATE
lnNumSourceTables=ADBOBJECTS(la1,"TABLE")
ASORT(la1)
....
and
...
lnNumSourceFields=AFIELDS(la3)
...
and
		lnNumTags=ATAGINFO(la2)
Hope this helps

Peter
Peter Cortiel
Previous
Reply
Map
View

Click here to load this message in the networking platform