Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database design
Message
De
16/07/1999 17:07:53
 
 
À
16/07/1999 17:00:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00242589
Message ID:
00242600
Vues:
20
>I want to do following
>
>1) create a project
>2) create different databases for different customers which will have same table structures,relationships etc.
>3) The directory structure is like
> Project directory
> then dbf,report,qurry etc
> then one directory for each customer which will have all customer related tables
>4) I created form with radio buttons to select a customer.
>5) based on the selection i set the path.
> e.g. dbf,report,query,customer1
> This SET PATH TO is there in click event for each button selection.
>6) Now I want to create a form using form wizard.
>
> It ask for the table to include.
>My problem is, though the table name is same for all customers. But I want to include table name from respected database.
>
>IN short I want to use the same form for all customers.
>
>Please help me

As long as you support the same structure, you shouldn't worry about actual database location, i.e. you may pick up any one to do development. In run-time you will adjust to real database location using Database property of Dataenvironment.Cursors :
***DE.BeforeOpentable event (simplified)
Thisform.Setall("Database",cActualdbcpathname,"Cursor")
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform