Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generate TABLE from Code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01232619
Message ID:
01232656
Vues:
11
>Hey Gang!
>
>I have a table called DW_HEADER.
>
>I want to create a text file (.PRG) so that when I run it in VFP, it creates the TABLE.
>
>So.................
>
>Any tools that can READ the already created table, and create the text file, with the commands in it, to CREATE the table later from the master program? (And no, there is no database container for this project... sigh.)
>
>Thanks!

Tommy

Why not create the table and all its details via the table editor? Assumiing it's to be part of the dbc you can then run the GENDBC prog (shiped with VFP) against your dbc, which writes all the code to generate the whole database, its rules, RI, tables, views, etc - the whole 9 yards. Then you can merely excise the bits you need for your particular table.

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform