Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LNoRecords flag
Message
De
11/05/2000 16:21:12
Cheryl Qualset
Qualset Computer Consulting
Davis, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
LNoRecords flag
Divers
Thread ID:
00368791
Message ID:
00368791
Vues:
47
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform