Hi
I'm just wondering wether or not theres another way to save records on a form, besides using the Access menu items, record selectors, or DoCmd.RunCommand/DoCmd.DoMenuItem.
The reason I wish to know this is because, currently when if I press my custom save button that executes, DoCmd.RunCommand, and there happens to be a write conflict, then I get an error (2501), saying the DoCmd action was cencelled. This is really annoying, and the users dont understand it one bit.
I tried using the RecordSetClone.edit/addnew and update/cancel update but this doesnt seem to work in Access 97.
I dont want the users to have to select from a menu or click a record selectors. Anyone got any ideas. As I said, the problem with the DoCmd way, only becomes apparent if theres an error when saving the record, i.e Write Conflict.
Thanks
Robert Biernat
I'm just wondering wether or not theres another way to save records on a form, besides using the Access menu items, record selectors, or DoCmd.RunCommand/DoCmd.DoMenuItem.
The reason I wish to know this is because, currently when if I press my custom save button that executes, DoCmd.RunCommand, and there happens to be a write conflict, then I get an error (2501), saying the DoCmd action was cencelled. This is really annoying, and the users dont understand it one bit.
I tried using the RecordSetClone.edit/addnew and update/cancel update but this doesnt seem to work in Access 97.
I dont want the users to have to select from a menu or click a record selectors. Anyone got any ideas. As I said, the problem with the DoCmd way, only becomes apparent if theres an error when saving the record, i.e Write Conflict.
Thanks
Robert Biernat