Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LNoRecords flag
Message
From
11/05/2000 16:21:12
Cheryl Qualset
Qualset Computer Consulting
Davis, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
LNoRecords flag
Miscellaneous
Thread ID:
00368791
Message ID:
00368791
Views:
46
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
Map
View

Click here to load this message in the networking platform