Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple data directories
Message
De
25/02/1998 12:06:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00081000
Message ID:
00081121
Vues:
26
>Please excuse my ignorance, but I don't use the form DE very often. I set-up my cursors, etc. before I get into a form. The reason I do this is that our data is "different"...when a user edits data, we need an effective date of change and we need to save all information (before and after changes)...this is because we need specific information for any specific day.
>
>Anyways, because I do this, I just issue commands like
>
>USE ("DataLocation"+datafile)
>
>before the DO FORM command. The DataLocation variable (or property) will map the data's source directory, depending on what network node you are on.
>
>I have a question: How are multi-user DE's usually handled? In other words, if the DBC is at the file server, how do I tell the system where to find the DBC?
>
>We have some forms with non-empty DE's, but they all use free tables and they are used before the Do FORM command...and this works fine for networked drives (using the above method), but it sounds like it won't work for DBCs.
>
>Joe

When you have DE, you don't USE tables, because DE will do it itself. What you should do is to reset DE.Cursor properties ('Database' for DBC-tables, and 'CursorSource' for free tables) to needed path. You can do it programmatically in DE.BeforeOpenTables event.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform