>>cid=ALLTRIM(curEMAILLINKS.EntryID) >>IF NOT EMPTY(cid) >> WITH THISFORM >> .oOutlook=NULL >> .oOutlook = CREATEOBJECT("Outlook.application") >> .oNameSpace = .oOutlook.GetNameSpace("MAPI") >>**** .oFolders = .oNameSpace.Folders >> .oItem=.oNameSpace.GetItemFromID(cid) &&& <---error >> WAIT WINDOW TIMEOUT 1 cid >> .oItem.DISPLAY() >> ENDWITH >>ELSE >> >>ENDIF >> >>>>this opens the email in outlook ONLY when I step though the code in the debaugger. witout the debugger it errors with a file not found.