Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with importing excel file into a dbf
Message
 
To
17/09/2004 13:46:19
Eric Gauthier
Transcontinental Interweb (Montreal)
Boucherville, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00943513
Message ID:
00943515
Views:
19
Any reason you are not using APPEND FROM ?

>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform