Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path Problems
Message
 
To
26/06/2000 17:34:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00384809
Message ID:
00384990
Views:
27
Hi Jimmy,

>OPEN DATABASE (HOME() + 'c:\diamondaccounti\inventory control')

>it doesn't like 'c:\diamondaccounti\inventory control' or the dos name.

It's not 'c:\diamondaccounti\inventory control' that it doesn't like, it's the combination of 2 paths that it doesn't like. i.e. if you've installed VFP like I did, the result would be:

C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VFP98\c:\diamondaccounti\inventory control
<\PRE>
with the drive letter in the middle. I think you want to eliminate the reference to HOME().

As was mentioned in another reply, I'd strongly recommend avoiding spaces in directories and file names. OTOH, to make your code as portable as possible, you should always code for the possibility.
HTH,
Bill Armbrecht
VFP MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform