Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with importing excel file into a dbf
Message
From
17/09/2004 13:46:19
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Quebec, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem with importing excel file into a dbf
Miscellaneous
Thread ID:
00943513
Message ID:
00943513
Views:
91
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.
Next
Reply
Map
View

Click here to load this message in the networking platform