Results 1 to 9 of 9
  1. #1
    uronmapu is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    124

    How to I can to add contact with Notes Field - Done - Thanks June

    How to I can to add contact with field "Notes" (Type: Memo) in MS Access to field "Notes" in Outlook contact



    Is it below ???

    item.Notes = varNotes & ""
    Last edited by uronmapu; 06-02-2012 at 01:58 AM.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Did that code fail? What was error message? How are you adding the item in Outlook? Are you linked to Outlook folder? Show full procedure code for analysis.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    uronmapu is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    124
    Please see code below:

    item.Title = varTitle & ""
    item.FirstName = varFull_Name & ""
    item.Email1Address = varEmail_Company & ""
    item.Email2Address = varEmail_Personal & ""
    item.CompanyName = varCompany_Name & ""
    item.HomeAddressStreet = varHome_Address & ""
    item.BusinessAddressStreet = varCompany_Address & ""
    item.JobTitle = varPosition & ""
    item.User1 = varData_Source & ""
    item.NotesName = varRemarks & "" (not ok)
    item.FileAs = varFull_Name & ""
    item.BusinessTelephoneNumber = varTelephone & ""
    item.BusinessFaxNumber = varFax & ""
    item.BusinessAddressCountry = varCountry & ""
    item.Birthday = varBirthday & ""
    item.Categories = varCategory & ""
    item.WebPage = varWeb_Page & ""

    Error Messages:
    Run-time error '438':
    Object doesn't support this property or method


    Refer: http://www.planetsourcecode.com/vb/s...25134&lngWId=1

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    I found a thread that says to use the Body property. The OP says that resolved the issue.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    uronmapu is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    124
    I don't understand

    I still can't add Remarks Field to Item of Outlook contact

    Refer via http://www.planetsourcecode.com/vb/s...25134&lngWId=1

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    That link says nothing about contact note. Here is the thread I found that says to use the Body property http://www.outlookbanter.com/outlook...tes-field.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    uronmapu is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    124
    I still can't add Notes Field from MS Access to Notes Item in Outlook Contact by vba

    Please see attached file (I want to add Remarks Field to Notes Item)

    Please advices
    Attached Thumbnails Attached Thumbnails ScreenHunter_02 Jun. 02 09.18.jpg   ScreenHunter_01 Jun. 02 09.18.jpg  

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    According to the thread I reference, did you try:

    item.Body = varRemarks

    I don't understand the & "" (not ok) part.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    uronmapu is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    124
    Many thanks June

    I'm using code below, It's ok now

    item.Body = varRemarks & ""


    P/s & "" (not ok) is comment

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 03-04-2012, 01:21 PM
  2. Access 2007 Memo Field Rich Text
    By EddieN1 in forum Access
    Replies: 2
    Last Post: 08-13-2011, 08:41 AM
  3. Memo type limit
    By G.King in forum Access
    Replies: 4
    Last Post: 06-22-2011, 01:51 PM
  4. Replies: 0
    Last Post: 01-19-2011, 04:20 PM
  5. Replies: 0
    Last Post: 06-19-2007, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums