Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with importing excel file into a dbf
Message
De
17/09/2004 13:46:19
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Québec, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with importing excel file into a dbf
Divers
Thread ID:
00943513
Message ID:
00943513
Vues:
90
Hi all,

I want to import a excel worksheet into a dbf

I use this command :

strconn = "Driver={Microsoft Excel Driver (*.xls)}; DBQ="+ALLTRIM(thisform.filein)+";ReadOnly=1"

slqstrconn = SQLSTRINGCONNECT(strconn)
sqlexec(slqstrconn , sqlcommand,"MyTable")

After this, I put the MyTable into a grid.

In the DBF file, all field is converting into memo type.
How can I change this memo type to have character type whitout loose anything

thx.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform