Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path Problems
Message
 
À
26/06/2000 17:34:09
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00384809
Message ID:
00384990
Vues:
37
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform