Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business object requery
Message
De
06/05/1999 13:33:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Business object requery
Divers
Thread ID:
00215788
Message ID:
00215788
Vues:
58
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
Fil
Voir

Click here to load this message in the networking platform