Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Challenge
Message
 
 
À
11/09/2002 11:56:33
Steven Dyke
Safran Seats USA
Texas, É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:
00692740
Message ID:
00699620
Vues:
21
Steven,

>I got pulled off this project for a few days but now I am back on it. I am very new to using views so I need some help. If I base my two grids on pviews how do I send the parameter to the view as I navigate through the main table? Is this approch better than relations?

One way is to set the view parameter to:

?MainTable.PKField

the only constraint this puts on the views is that MainTable must be opened before the child views can be opened.

Then whenever you change records in the MaintTable:

Requery( "ChildView1" )
this.grdChild1.Refresh()
Requery( "ChildView2" )
this.grdChild2.Refresh()
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform