Have a couple of issues/questions about databaseManager.getEditedRecords() and databaseManager.getChangedRecordData:
- If you change a value on a record, but then change it back to the old value, then databaseManager.getEditedRecords() will return an edited record, but if you lookup the changed data (databaseManager.getChangedRecordData), it will contain nothing. Is it correct that databaseManager.getEditedRecords() returns a record that in effect holds no changes?
- I have a main form (A) based on table user. On this form, I have a relationless tabpanel with a form (B) based on table profiles. Form B shows all profiles with a checkbox besides it. The checkbox contains an onDataChange method, that will insert a record into or remove a record from the user-profile table (I have a form user-profile based on this user-profile table, through which I do the delete/insert). This way I link users to profiles. Now I notice the following behavior:
1: When a record gets added to the User-Profile table, databaseManager.getEditedRecords() returns no records, not even if the User table has changes as well.
2: When I get the details of the altered records, it looks like I inserted/removed records into/from the Profiles table, where that did not happen: Records were added/removed into/from the User-Profile table
Paul