Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ChildBizObj Requery Fires unexpectantly
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
ChildBizObj Requery Fires unexpectantly
Divers
Thread ID:
00492761
Message ID:
00492761
Vues:
60
Hi all,

A strange one -- at least it seems strange to me -- on the ChildBizObj Requery. The ChildBizObjRequery fires on an add of the primary after the record pointer has been moved in the primary. If the Primary record pointer is not moved, the requery does not fire.

ParentBizObj

lNewChildOnNewParent = .F.
lRequeryChildOnNewParent = .F.
lRequeryChildOnRequeryParent = .F.
nRequeryType = 3.00

ChildBizObj

lNewChildOnNewParent = .F.
lRequeryChildOnNewParent = .F.
lRequeryChildOnRequeryParent = .T.
nRequeryType = 1.00

Form is subclass of CBizObjForm

Form displays. Click Add, new primary records created, child BizObj no requery.

Cancel the add.

Navigate through the Primary records.

Click Add, new primary create but the ChildBizObj requery fires this time.

Can anyone tell me why? The child requery fires on the add when the record pointer has been moved on primary but not on the initial entry?

Thanks for any help on this matter.

Bob
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform