Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataenvironment
Message
De
26/01/2001 13:06:00
Randy Hooper
Ranco Business Software
Tampa, Floride, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00469026
Message ID:
00469115
Vues:
11
>Yes, IMO, you are.
>
>One item to note. Remember that VFP checks the relative first before it checks anything else. If you have a local copy of the data in the same relative path as that stored in the dataenvironment, VFP will open that first and not look at your path. You could end up using teh wrong data files.

Thanks, For your Help

>
>>>>If I move my app to a NT Server. I notice the property database is hard coded for each cursor. Am, I going to have to change this. I assume this would go in before open tables, what can of code would I put here... to change all the cursors.
>>>>
>>>>Randy
>>>
>>>Randy,
>>>The path is not hard coded. It is stored using the relative path when you add the tables/views to the data environment in the form designer. When a form is instantiated, it will check the relative path first on the local system. If the tables are not found, it will check the VFP search path. As long as you have a path set (or set the default directory appropriately), you don't have to do anything extra to move your data.
>>>
>>>HTH.
>>
>>If I had a set path like this vfp would know to do. I my main start up.
>>set path to "c:\ptwin,f:\pt2\datafiles", In my main I would not use the drive letter you see, they would be variables coming from my free table where the data is store. Am I on the the wright track...
Foxpro is a sweet puppy

'cept it barks every now and then =)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform