Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Business object requery
I have a Business Object and combobox on page two of a form based on cBizObjMaintenanceForm. This list's primary key is a foreign key to the Primary business object of the form (just like the clients list shown on the properties page of the projects form in the Project manager sample application).
I'd like to go and add a new record to the table listed by the combobox (from another form) without closing the form containing the combobox in such a way that once you are back at the previous form the combobox shows the new item just added.
The business object which takes care of the cursor shown by the combox has its nRequeryType set to 2 but this only fires when the user clicks on the properties page and another page was active. It does not fires when you close another form and the from with the combobox receives the focus.
Where shall I place the code to requery the busineess object when focus is back on the form and the properties page is active?
Thanks in advance
Oscar Corte
Suivant
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