Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL statement questions !
Message
De
01/01/2001 01:29:23
 
 
À
31/12/2000 11:25:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00458194
Message ID:
00458286
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform