Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add New Records Fails
Message
From
21/01/1999 16:37:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Add New Records Fails
Miscellaneous
Thread ID:
00178740
Message ID:
00178740
Views:
57
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
Map
View

Click here to load this message in the networking platform