Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want the table column names
Message
From
02/08/2000 22:44:05
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00399829
Message ID:
00400199
Views:
15
Brenda,

A little off the subject, but here's a handy trick with AFIELDS() that you may not know. It copies the structure of a table and makes a cursor:

SELECT MyTable
=AFIELDS("laTempArray")
CREATE CURSOR MyCursor FROM ARRAY laTempArray


>For the currently selected table, I want an array of the column names? How do I build an SQL to retrieve the column names?
>
>Thanks
>
>Brenda
Previous
Reply
Map
View

Click here to load this message in the networking platform