Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Defaults and Paths on App Startup
Message
De
08/12/2005 09:44:29
 
 
À
08/12/2005 09:22:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01076049
Message ID:
01076156
Vues:
17
I develop on my computer and all tables are in path that is different in usres machines. Thay can't choose in what path they could store data. They only choose main folder for the data. I.e. they choose data to be stored in \\server\Myapplication. then I copy/create data in \\server\myapplication\data1 (2...n)

>>I never used SET DEFAULT TO... all I do is to set proper path to files. i.e. if the Data Files are placed in \\server\MyApplication\BorisData
>>reports - \\server\MyApplication\Reports, etc, all I do:
>>SET PATH TO \\server\MyApplication\BorisData,\\server\MyApplication\Reports
>>and everything is OK. Application finds its data and report
>
>How about form.de bug ?
>I don't think this wld prevent your forms opening database tables from (C:\mydev\data\blah blah) when you realy want to work on network database.
>(Case when you develop and maintain system from the same machine)
>
>I stopped setting data paths ever since I moved from DOS.
>Instead of that I use global object (oSystem) providing database(s)
>paths - on the fly, to all objects in need of knowing where databases are. (forms & session objects).
>
>Hence setting path every time user change company/module/period or
>just call some object that provides some information...
>If there was no limit there, it wld end up being 10kb path setup :)
>
>I set path usualy for design/compilation purposes to .\forms .\reports .\graphics etc but that's about it.
>Once module is compiled and deployed all paths are (force)feed
>on the fly.
>
>Using full, distinct database path all the time.
>Never had any problem.
>
>Rgds++
>Sergio
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform