A dilemma has arisen while designing a UI bound to an underlying table. The 'Allow Zero Length' property for the fields in the table is set to 'NO'. Another dept has ownership of the table, so I can't alter the field properties.
I'm trying to build some integrity into the UI by forcing the users to click <Edit Current Record> button before they can update a record (turning 'Allow Edits' property on). When they've made their updates, there's a <Submit Updates> button option and a <Clear Updates> button option.
The problem is (whether they're adding a new record or editing an existing one) if the underlying field had previously been blank, but the user populated the associated control with data, I can't clear their updates due to the 'Allow Zero Length'=NO setting if they choose <Clear Updates>.
So, 2 general solutions occur to me, but I don't know if either are ideal. (1) Temporarily set 'RecordSource' = "" during update, or (2) Implement the 'BeginTrans'/'CommitTrans'/'Rollback' methods (I suspect these transaction methods don't lend themselves to a multi-user environment).
Any ideas on how to tackle this would be greatly appreciated.
Regards,
John
I'm trying to build some integrity into the UI by forcing the users to click <Edit Current Record> button before they can update a record (turning 'Allow Edits' property on). When they've made their updates, there's a <Submit Updates> button option and a <Clear Updates> button option.
The problem is (whether they're adding a new record or editing an existing one) if the underlying field had previously been blank, but the user populated the associated control with data, I can't clear their updates due to the 'Allow Zero Length'=NO setting if they choose <Clear Updates>.
So, 2 general solutions occur to me, but I don't know if either are ideal. (1) Temporarily set 'RecordSource' = "" during update, or (2) Implement the 'BeginTrans'/'CommitTrans'/'Rollback' methods (I suspect these transaction methods don't lend themselves to a multi-user environment).
Any ideas on how to tackle this would be greatly appreciated.
Regards,
John