Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1547 Cannot Insert empy view row in table
Message
De
12/05/2000 17:02:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00368532
Message ID:
00369258
Vues:
25
Keven,

I am using the simplist scenario for a parent and child bizob relationship (meaning the objects are subclassed with almost no changes or method code) . On a cBizobjNoListMainForm, I've set the parent bizobj as primary bizob. It's find form works as expected. When I click on the first page with a child bizob, thats' when the error 1547 occurs. On the child page, I've placed a cBizEditObj (disabled the builtin bizobj) dropped my child bizobj and set it as AutoprimaryBizob. The only method code I'v added was in the postinithook to set the viewparameter array for requering the child when the parent changes.

When I follow the trace and call stack, it appears that the selection of the child page causes page.uienabler1.uienabled
Accountform1.new (parent form)
cbizobjform.new
Accountform1.refresh
page.childbizob.refresh
page.childbizob.requery
ctablebehavior.requery and then the 1547 error occurs.

I've seen the luienablernewrecord set different ways in the projmgr6 app. I've also seen code added in the Quickstart Example and in the Projmgr that deals with Onbizobjempty methods that I am not doing anything with.

What are the required settings for a basic parent child setup when the parentbizobj is on a cBizobjNoListMainForm, page 1 and the child page has a cBizEditObj on it.

Gary.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform