Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00608666
Message ID:
00609256
Vues:
20
SNIP

>I think it has something to do with the fact that VFP 7.0 doesn't like having two different drives >in the default drive and file path.
>
>Lets switch the scenario to my hard drive. I have a table on [C:\Temp] named "audittemp.dbf":
>
>SET DEFA TO F:
>SET PATH TO C:
>USE \ TEMP \ AUDITTEMP {DOESN'T work in 7.0, DOES work in 6.0}
>
>But, when I reset the default:
>
>SET DEFA TO
>SET PATH TO C:
>USE \ TEMP \ AUDITTEMP {WORKS in 7.0}
>
>Very strange behavior (bug),


Mike, I just tested this on my W2k machine with the default in vfp set to the L: drive and the path set to the t: drive and when I tried to open a table that was located in the path, it worked fine. So it cannot be a bug. I'm using VFP7 SP1 too.

My code that worked:
SET DEFAULT TO L:\profiler\data
SET PATH TO T:
USE \temp\test  && file is located at t:\temp\test not L: and it worked
Tracy
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform