J
Jake
At work we have an application that uses an Access database. It is used to
log support requests from emails. The problem is that logging a request
manually can take a long time because you have to copy and paste parts of an
email.
I wrote a macro in Outlook that would automate this process. I simply
select the email I want to log and click a button for the macro on the
toolbar. It works fine but another user has been experiencing problems
trying to log requests manually while I use my macro. The application keeps
trying to create a record with the same key. The application complains and
the user tries again. He eventually manages to log a request after a few
attempts.
I'm not sure what type of database connection the application creates - DAO
or ADO - but its probably DAO. My Outlook macro uses ADO. I am using
optimistic locking so I am a bit surprised by this problem. It seems the
internal table key is not getting incremented. Does the database have to be
compacted? Any ideas how I can solve this?
log support requests from emails. The problem is that logging a request
manually can take a long time because you have to copy and paste parts of an
email.
I wrote a macro in Outlook that would automate this process. I simply
select the email I want to log and click a button for the macro on the
toolbar. It works fine but another user has been experiencing problems
trying to log requests manually while I use my macro. The application keeps
trying to create a record with the same key. The application complains and
the user tries again. He eventually manages to log a request after a few
attempts.
I'm not sure what type of database connection the application creates - DAO
or ADO - but its probably DAO. My Outlook macro uses ADO. I am using
optimistic locking so I am a bit surprised by this problem. It seems the
internal table key is not getting incremented. Does the database have to be
compacted? Any ideas how I can solve this?