Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using views in forms
Message
De
07/12/1998 08:49:17
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
07/12/1998 08:14:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00164671
Message ID:
00164692
Vues:
18
>Hi Vinod.
>>
>>Currently I created 2 views, 1 parent and 1 child... But the problems I'm facing are :-
>>
>>1. When I move the record pointer in parent view, child view's grid is not updating...
>>2. Its written in documentation that its not right to create indexes on view, then how i should relate my 2 views....
>>
>The way that I would handle it is to create the child view as a parameterized view. To do this, you specify something like WHERE (childTable.FoeignKey) = ?nParentyKeyValue as your filter expression. Then, in the AfterRowColChange of the grid that displays the parent table, you set the value of nParentKeyValue and REQUERY the child view.
>
>BTW, you can create temporary indexes on views. You just have to be sure that the view is available and row buffered when you do this.
>
>Marcia

Thanks for your reply...I'll try this...

Can u pls tell me any source or article or example through which I can use views properly...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform