Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery
Message
De
28/01/1999 11:41:54
 
 
À
26/01/1999 14:55:08
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00180426
Message ID:
00181369
Vues:
9
>I have a view based on an inner join between two tables. This veiw has one field from the second table that is displayed on the grid on Page1 of cBizobjmaintenanceform. This field can be edited with a combobox on Page2. Sounds a lot like projmgr6 example, doesn't it?
>
>In my app, I want the user to save the data and have the field in the grid updated immediately. This can only be accomplished through requerying the data and refeshing the form. The problem is, I'm not sure where this should be done. Any ideas?

I found the solution to my own problem, in case anybody is interested. It is in the saverecord method. All I needed to do was create an index on the view, set the cTagName property on the cgridlist object and let the code handle the rest. If there is value found in cTagname, the code will automatically requery the view and then go back to the record it was sitting on by using a seek. I wouldn't have found this unless I started digging around the class. Works like a charm!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform