Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print out label
Message
From
22/07/2004 10:50:03
 
 
To
19/07/2004 15:41:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00925601
Message ID:
00927006
Views:
17
CREATE TABLE ala ;
(telno c(6) , ;
nom C(20))

THISFORM.text1.value=GETFILE("XLS","Select File")

SELECT ala
lcCommand="APPEND FROM '"+THISFORM.text1.value"' TYPE XLS"
&lcCommand

The single quote marks allow VFP to cope with spaces in file and folder names.

There are other ways of doing this, but I find this easy to read and reliable.



Hope this is what you want


Gary.
Previous
Reply
Map
View

Click here to load this message in the networking platform