General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only