Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way to convert a foxpro table to an access table
Message
De
30/06/2000 14:14:42
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
 
 
À
30/06/2000 13:59:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00387212
Message ID:
00387227
Vues:
19
Hi Dan,

...........Actually, it has to been programatically. This is for a web app. The user will click a link to import table as "Access". Behind the scenes in code we will create the access table and then send the table down the wire.
Dan

There are two ways to proframatically create Access tables. Through DAO and DDL (data definition lanquage) queries. In DDL you can use the create table to create a table schema, alter table to modify and exisitng talbe schema, and create index to create a new index.

The create talbe syntax is:

CREATE TABLE table (column1 type1 [(size)] [column2 type2 [(size2)] etc

like... create table myTable (mname text (35), myaddress text (35), myzip long)

For the DAO you should read Chapter 6 of Access 97 Developers Handbook by Litwin, Getz, Gilbert published by Sybex.

If it is Access 2000 you may want to go with ADO instead of DAO. I hear it is faster.

Hope this gets you started.
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform