Information générale
Catégorie:
The Mere Mortals Framework
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement