N
Ngan Bui
I have Office XP with Windows 2k.
In my Access XP, I have a sendobject command to create an
email message. below is the function:
DoCmd.SendObject , , , "*Location",, , , "Address is " &
Me!Address & "."
With one user, everytime he clicks on the button, there is
an error that says "Access cannot open mail session".
I log in as someone else on the computer and run the same
thing and it works. I log that one user onto another
machine and it doesn't work. Seems as if it happens only
when the user is logged in and using his outlook.
In the past, I've already recreated his email account and
it fixed the problem. Now it's back.
The one work around I have is if he previews an Access
report, go to File | Export...in the Save In,
choose "desktop"...in the Save File Type, choose "excel 97-
2002"...and then Cancel the export.
When he does that, the sendobject function works as long
as he doesn't close out of the database.
Has anyone found this to be a problem? I can export as an
attachment with the other Office programs, just not Access.
This only happens if the user logs in as himself AND uses
his outlook...it can be on any computer.
In my Access XP, I have a sendobject command to create an
email message. below is the function:
DoCmd.SendObject , , , "*Location",, , , "Address is " &
Me!Address & "."
With one user, everytime he clicks on the button, there is
an error that says "Access cannot open mail session".
I log in as someone else on the computer and run the same
thing and it works. I log that one user onto another
machine and it doesn't work. Seems as if it happens only
when the user is logged in and using his outlook.
In the past, I've already recreated his email account and
it fixed the problem. Now it's back.
The one work around I have is if he previews an Access
report, go to File | Export...in the Save In,
choose "desktop"...in the Save File Type, choose "excel 97-
2002"...and then Cancel the export.
When he does that, the sendobject function works as long
as he doesn't close out of the database.
Has anyone found this to be a problem? I can export as an
attachment with the other Office programs, just not Access.
This only happens if the user logs in as himself AND uses
his outlook...it can be on any computer.