Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Haphazard Absolute Paths in DBCs...
Message
De
04/08/1997 10:05:59
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00042773
Message ID:
00043047
Vues:
40
>>I am battling with the idea that MS would do such a thing...
>>
>>My views are basing their results on data in the development directory
>>rather than my distrib directory. Just like when I setup a DE on a form or report..
>>So if my project data is in \Pub\Phone\Data, for example, and the EXE Data is in
>>\Pub\Phone32\Data, IF the original Data directory is found (\Pub\Phone\Data), if will
>>use those tables!
>>
>>I hope I am wrong, but if I'm not this seems somewhat ridiculous. Please let me
>>know it anyone has discovered the same!
>> - GM
>
>it does that. we have a work-around here somewhere. if no one else posts one, let me know and i'll dig it up.

So far I've been placing code in the BeforeOpenTables event to adjust the path... Since there is no inheritance for DE's (without bending over backwards), I really wish there's a better way to do this. My fear is that I'll forget to put to code on a form/report one time and have it be reporting the wrong data.
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform