General information
Category:
The Mere Mortals Framework
Title:
Add New Records Fails
Hi all,
Think I need help from some of the more experienced very badly. I'm wrestling for days on a problem without any success.
My BizObjForm is based on cBizObjMaintBaseForm and has 2 PageFrames on it. The controls for the view's data are all cTextBoxl from the KContrls but they are spread over both pages. The Business Object has been place on page 1 and the cToolBar is set to cNavToolBar.
Now, when running that BizObjForm, the data are displayed and can be navigated with the toolbar buttons. But activating the New button results in an error # 107.
I traced the problem down to kBizObj.New() which sets the return value lnRetVal to 0, but before returning to the calling cBizObjForm.New() method, the execution jumps to the lines shown below:
cSelect.Destroy()
Select(this.uOldArea)
This code somehow changes the lnRetValue from 0 to .T. which causes the error # 107 "wrong operand type" in the cBizObjForm.New() method.
Any idea what may causes this problem?
Thanks for any help.
Regards
Klaus Arlt
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