Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AutoIncrement and Importing Data
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
AutoIncrement and Importing Data
Divers
Thread ID:
01189260
Message ID:
01189260
Vues:
74
Hey Guys!

I was wanting to import a large text file (comma delimited) into a table.

The first field in the table is an autoincrementing field.

When I import the data, the data acts like field 1 went into the AUTOincrementing field (yikes!), field 2 to where field 1 is suppose to go, field 3 to where field 2 was suppose to go.....

Sample text file....
UPC    Name    Amount    Class
40001 ,Joe    ,20.0     ,A
60002 ,Mary   ,31.2     ,B
20003 ,Gary   ,44.3     ,C


When imported into the table.....
Table foo

Rec_ID          UPC     Name      Amount      Class
AutoIncrement
1               Joe     20.0      A
2               Mary    31.2      B
3               Gary    44.3      C
Will I have to REMOVE the Autoincrementing field, or move it to the END of the table??

Thanks!
Tommy
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform