Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Tool
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01580989
Message ID:
01580996
Vues:
39
>Hi Gang!
>Was there a tool here for printing out the table structure completely?
>Thanks!


You can replicate it fairly easily (untested):
lnCount = ADOBJECTS(laTables, "TABLES")
FOR lnI = 1 TO lnCount
    USE (laTables[lnI]) ALIAS theTable

    ? laTables[lnI]
    FOR lnJ = 1 to FCOUNT('theTable')
        ? FIELD(lnJ) + " " + LOWER(TYPE(FIELD(lnJ))) + "(" + FSIZE(lnJ) + ")"  && Doesn't display decimals for numerics
    NEXT

    USE IN theTable
NEXT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform