Connection To DB Lost After SendObject

R

Rob

I am using sendobject to send an email message from Outlook. Once the email
is sent the page closes and reopens. During the load, the form connects to
the DB using the code below. When it attempts, runtime error 3024 Could not
find the file "SARManagement.accdb" is generated. Any ideas?

Set pdb = OpenDatabase("SARManagement.accdb")

Thanks for your assistance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top