Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Data Environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00192388
Message ID:
00193135
Vues:
21
OK, Jack, but what *do* you do about the hardcoded paths in the DBC????

Bonnie

>We have a different drive letter for our test server than our production server. However, we still use the DE in the forms, but set our paths in the main prg. We have found that this works for everything except the hard coded paths that end up in a DBC...
>
>Jack
>
>>>The property is disabled in the property sheet, but it is Writeable at runtime, onlye before the tables are open. So you have to call oyur code in the form.load or the DE.BeforeOpenTables method.
>>
>>OK, that makes sense.
>>
>>>IN response to your question in the other thread: The main advantage to using the DE is being able to visually manage what tables are available to your form's datasession. You can work without it, sure, many do. But you will have to write something that performs the tasks for you: locating and opening the tables.
>>
>>I've been programming for so very many years that writing code to perform these particular tasks is a no-brainer, it's something I've always had to do anyway. Hard to teach an old dog new tricks I guess.
>>
>>Thanks for your input,
>> Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform