Connecting Tech Pros Worldwide Help | Site Map

Writing to exchange contactitem fails

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 09:22 PM
Jakob Gram
Guest
 
Posts: n/a
Default Writing to exchange contactitem fails

I'm updating exchange server from an access database using
outlook.application. It all runs just fine until I reach writing to the
email-fields. I can't set Email1Adress to a simple string. I get the error
"Object doesn't support this property or method"

MyItem.FullName = rstNavAfd!KassererNavn & " " &
rstNavAfd!KassererNavn2
MyItem.JobTitle = "Kasserer"
varLook = DLookup("E_mail", "navDebitor", "Nummer = '" &
rstNavAfd!KassererNummer & "'")
If (Not IsNull(varLook)) And varLook <> "" Then
MyItem.Email1Adress = varLook ' Here it goes
wrong !!!!
End If

Can anybody help?
regards
Jakob



 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.