Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Adding and saving a record
I am attempting to first add and then save a record to a table that has a primary key that is integer (autoincrementing) I have not got it to save.
I can use the edit and okay buttons of the forms, but using the add, filling in data, hitting the okay button, populating the foreign keys using hook code and the save fails without an error, although by debugging I know it is 1547. While debugging the record does show up in the underlying table while the transaction is open, and then disappears.
I am using the classes clistobjeditform and clistobjedit. The bizobj is a child of another bizobj as I am only looking at a subset of my table that have a foreign key pointing at the parents primary key.
Any help would be appreciated
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement