Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming fields for tables imported programmatically
Message
De
28/06/2000 08:33:25
 
 
À
28/06/2000 03:49:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00385568
Message ID:
00385627
Vues:
7
David,

>I guess the programmatic approach would be to IMPORT the file then modify the resulting table structure with ALTER TABLE commands. Best I can tell, that's what the wizard does.

Just do programmatically what the IMPORT Wizard does, but using the commands
CREATE TABLE ...
APPEND FROM ...
For example:
CREATE TABLE mytable ;
(myfield c(6), myname c(25), mynumber N(12,2) )
APPEND FROM somefile TYPE DELIMITED [or SDF, or other types]
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform