Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I set up shared tables on a network?
Message
De
03/01/2000 17:13:52
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
03/01/2000 16:43:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00311931
Message ID:
00311954
Vues:
34
>I am new to Visual FoxPro (and programming in general) and am trying to get my app set up so that the tables are shared on a network. How do I go about getting the setup program to put the shared tables on a network server and install the rest of the files on individual workstations? I have read about Programming for Shared Access and every other source that I can find, but I can't seem to get a concrete answer on what I need to do.
>
>Thanks in advance for your help!

One approach is to create 2 separate setup programs - call them "Server Version" and "Workstation Version". The Server version simply installs shared tables, .DBCs etc. to a user-specified server drive/folder. The Workstation version installs your app, components, VFP runtime etc. to a workstation's drive.

A couple of things to watch out for:

- on some networks e.g. Novell, you have to specifically mark files as Shareable for them to be useable by more than 1 person at once. This is NOT the default setting for newly copied files.

- you may need to put some code in your app, so it knows enough to ask you where the data files are located when it starts up on a new workstation installation. You might want to store this location to the workstation's registry.

- be careful setting up automated installation routines for server data files. It can be all too easy for someone to re-install the data files and blow away weeks or months of work. You can't always assume these files get backed up regularly, either.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform