Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Refresh, Synchonize View and table
Message
De
13/08/1998 09:10:38
 
 
À
13/08/1998 08:55:54
Francois Liboiron
National Bank of Canada
Montréal, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126442
Message ID:
00126455
Vues:
25
>I always have troubles when i got a many to many relation between
>2 tables. Example this 3 tables Notary-Jonction-Clients.
>one notary could have many clients, and one client could by associate
>to many notary. Everything is good with the design, but when i have
>to choose the recordsource for the grid i got a lot of questions :
>
>1- Do i use a Querry, a view or directly the table client with a filter on the jonction table? Why the relation between the tables does not show me all client records associate to my notary on the grid?
>
>I have to coding a lot, when i am adding clients records or delete records clients. Why, I got to refresh the grid, requery, this.recordsource=this.recordsource (with view and querry).
>
>I am adding or deleting records in the jonction table and after
>i loose the synchronization with the table client.
>You have surely a way to redure coding!!!

Don't try to put all data into the same grid. Either select all notaries for particular client, or all clients for particualr notary, i.e. your app could have different forms/grids for different views.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform