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:
01580998
Vues:
26
>>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
Thanks!
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform