Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL statement questions !
Message
From
01/01/2001 01:29:23
 
 
To
31/12/2000 11:25:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00458194
Message ID:
00458286
Views:
13
Dear Chang,

As per what I understood from your query is that you want to know the no. of fields in specific table , if this the matter. than

than just to know the no. of field is

SELE (tablename)
x = fcount()
?x && x = no. of fields

**** Below is the good example to refer


USE customer && Opens Customer table

CLEAR
FOR gnCount = 1 TO FCOUNT( ) && Loop for number of fields
? FIELD(gnCount) && Display each field
NEXT
?
? 'Number of fields: ' + ALLTRIM(STR(gnCount -1))

Regds,
Rajesh
Previous
Reply
Map
View

Click here to load this message in the networking platform