Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1547 Cannot Insert empy view row in table
Message
From
11/05/2000 10:11:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Error 1547 Cannot Insert empy view row in table
Miscellaneous
Thread ID:
00368532
Message ID:
00368532
Views:
65
I get this error when I click add from a CListObjEdit component on a pageframe. I have traced the code to where the framework has called this.parent.oBizobj.new() to add a record to the child bizobj that will underlay the CListObjEdit form it is about to call.

The documentation in the method said it will add a new record to prevent the fields from misbehaving. The framework then issues a requery. This is the point where the error occurs, which basically says "While a view is updating, a new empty record (with no modified fields) is being inserted into one of the base tables of the view. Make sure each record inserted from a view into a base table has at least one field that has been modified in the view prior to the view update."

I tried an append blank form the command window after I opened the view in question, and it appended the blank record OK, until I issued requery(), which gave the same error the framework does.

If the framework is written to do this algorithm, shouldn't it handle this issue. If not, what is the accepted method code to allow this to work?

Thanks,

Gary.
Next
Reply
Map
View

Click here to load this message in the networking platform