I've created a ACCESS database and upsized to sql server. Users run it from a mapped net drive, basically a shared folder. In this way users can access to this program without getting on the server, mainly because of safety issue.
In my program, Access and Outlook are connected. It can read/send emails in Access, but it only reads the email in your current OS, which is fine when you are in the server, because it reads the server's outlook account. When I was designing it, I was building it in the server so I was fine... however, when you are accessing it on your laptop via a shared folder, it reads your OWN outlook account under your currently OS instead of the server's.
This is a piece of the code that I'm using
It only reads the default inbox of your currently OS, so the default inbox could be whatever… it all depends on where you run it...
Is there any way to modify that (or other alternatives) so it will only read the emails in the server's outlook account instead of your own when you run it from a mapped net drive?
Thanks in advance! I'm sorry for my broken English..
In my program, Access and Outlook are connected. It can read/send emails in Access, but it only reads the email in your current OS, which is fine when you are in the server, because it reads the server's outlook account. When I was designing it, I was building it in the server so I was fine... however, when you are accessing it on your laptop via a shared folder, it reads your OWN outlook account under your currently OS instead of the server's.
This is a piece of the code that I'm using
Set Inbox = OlApp.GetNamespace("Mapi").GetDefaultFolder(olFolderInbox)
It only reads the default inbox of your currently OS, so the default inbox could be whatever… it all depends on where you run it...
Is there any way to modify that (or other alternatives) so it will only read the emails in the server's outlook account instead of your own when you run it from a mapped net drive?
Thanks in advance! I'm sorry for my broken English..