MS Outlook Automation

Jem_AhmetJem_Ahmet Member Posts: 27
edited 1999-12-06 in Navision Financials
I have to export contacts from NAVISION to Outlook - OLEAutomation works fine, but the contacts are exported in general contacts folder in Outlook.
Is there a way to force Outlook from NF to select a different folder e.g. subfolder of CONTACTS?

Comments

  • Jem_AhmetJem_Ahmet Member Posts: 27
    Using C/AL code in NF via OLEAutomation.
  • AlexAlex Member Posts: 54
    Hy ,
    Sorry i have no Answer for you, but i am very interessted how you bring the Contacts to Outlook from Navision ?!
    Do you do this with ODBC ?!
    Or have you an OCX ?!
    Best regards
    Alex Schubert

    ERP & Navision

    Dolphin Communication Technologies GmbH
    Otto-Hahnstr. 1 c
    D-69190 Walldorf
  • JotimJotim Member Posts: 1
    To export contacts in subfolder use this e.g

    olContactFolder := olApp.GetNamespace'Mapi').
    GetDefaultFolder(10).Folders.Item('Subfolder');
  • Jem_AhmetJem_Ahmet Member Posts: 27
    It works. <img border="0" title="" alt="[Smile]" src="images/smiles/icon_smile.gif" />
    10x a lot
Sign In or Register to comment.