General information
Category:
The Mere Mortals Framework
We just noticed this in a form based on cBizObjNoListMaintForm.
We added a button to the 1st page to allow the user to control when a new record is created. The form starts up w/ no record therefore all controls disabled. The user can create a new record, cancel it, and then create another one (I know, I know, why???). In this situation, the primary bizobj's lNoRecords still show .T. after the New record is created (properly reset to .T. in the cancel). The obvious consequence of this is the form caption is not being updated w/ the new information.
The framework updates this flag on Save (cancel, requery). What does this flag mean exactly? Is it supposed to be .T. when there are only uncommitted records or no records?
Do we need to test something else in GetBizObjDesc?
Should we update it in New?
What do you think, people?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only