Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business object requery
Message
From
06/05/1999 13:33:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Business object requery
Miscellaneous
Thread ID:
00215788
Message ID:
00215788
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform