Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import from excel to vfp
Message
From
26/06/2006 02:05:58
 
 
To
25/06/2006 17:03:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131502
Message ID:
01131617
Views:
17
hi,
thank you,
about.. I don't know how to do this with the "import" command ? as..
thisform.text1.value=GETFILE('xls')
IMPORT FROM (thisform.text1.value) TYPE XLS
this can be automated (Automation from VFP)&& no idea how i can do it?

i can do that as example under...,
but the number of fields and fields names not the same every time.
CREATE TABLE test
( Clint_no n(15)  ,name C(80) nocp, Tel C(10) nocp,category C(20)nocp, entity n(4) ,part2 c(2) nocp,dat d(8) )
APPEND FROM (thisform.text1.Value) TYPE xl5
thanks.

>>hi all,
>>
>>any idea, help
>>
>>when i make import from excel to dbf
>>
>>fields name as(no,name, telno,customer no...) change to a,b,c,d...
>>is ther away to keep the names as it is at dbf
>>
>>IMPORT FROM (thisform.text1.value) TYPE XLS
>>
>>
>>thanks
>
>I don't know how to do this with the "import" command, but you can open the spreadsheet in Excel and save it in DBF format. Of course, this can be automated (Automation from VFP).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform