Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help to copy free table struct and then insert records
Message
From
06/04/2000 12:29:39
 
 
To
06/04/2000 12:05:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00356247
Message ID:
00356357
Views:
13
>>I set the PATH to a certain director, but the INTO TABLE test1 was created in my WINDOWS\DESKTOP directory. I can not specifically state the directory, because it is different on all my clients servers. Want to set the PATH with a SYS(16). How can i specify were i want the INTO TABLE to go?
>>
>>thanks
>>
>>brenda
>
>
Brenda,
>Just add your path as a prefix :
>
lcMyTestPath = "c:\myTest Files Directory\"
>select * from ... into table (lcMyTestPath+tcTablename)
Even UNC names would work.
>Cetin

More importantly, SET PATH changes the VFP search path - you need SET DEFAULT or CD to change that actual working directory.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform