G
Guest
Hi - I'm trying to debug some code I inherited.
Access front end SQL back end. Sort of document management.
Basically I have a form that is opened with DoCmd.OpenForm ,the form is used
for additions and edits of a document but nether acFormAdd or acFormEdit are
specified.
On a save button there is code to DoCmdGoToRecord , , acNext which raises an
error "You can't go to the specified record" the code is commented with 'To
force a commit on current record go to the next wether update or add'
The record does however get written to the DB.
There is then a Form_AfterUpdate with code to run a stored proc to allocate
the document to another entity using its id (int identity) however the
problem is the Form_AfterUpdate is not firing (probably for very good reason).
Any thoughts, I'm trying to avoid re-writing 500 lines of code.
Allen
Access front end SQL back end. Sort of document management.
Basically I have a form that is opened with DoCmd.OpenForm ,the form is used
for additions and edits of a document but nether acFormAdd or acFormEdit are
specified.
On a save button there is code to DoCmdGoToRecord , , acNext which raises an
error "You can't go to the specified record" the code is commented with 'To
force a commit on current record go to the next wether update or add'
The record does however get written to the DB.
There is then a Form_AfterUpdate with code to run a stored proc to allocate
the document to another entity using its id (int identity) however the
problem is the Form_AfterUpdate is not firing (probably for very good reason).
Any thoughts, I'm trying to avoid re-writing 500 lines of code.
Allen