Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1547 Cannot Insert empy view row in table
Message
De
11/05/2000 10:11:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Error 1547 Cannot Insert empy view row in table
Divers
Thread ID:
00368532
Message ID:
00368532
Vues:
63
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform