0
메모 본문으로 이메일 본문을 가져올 수 있습니까? 오류가 발생했습니다.메모 본문에 이메일 본문
전자 메일 본문을 메모 필드에 그려 넣으려고합니다.
오류 # 1943 메시지 : 회원 ACTIVEINSPECTOR 객체
USE CMCONTROL IN 0
USE CMEMAILS IN 0
local array MyFiles[1,5]
nFilesFound = ADIR(MyFiles, ALLTRIM(cmcontrol.cpath) + '*.*')
xx = 0
for i = 1 to nFilesFound
xx = xx + 1
WAIT WINDOW NOWAIT 'FortenStar® Count-O-Matic'+CHR(13)+CHR(13)+'Email Record Count: '+ ALLTRIM(STR(xx))
***********************************************************************************
*** HOW CAN I MAKE THIS WORK?
***********************************************************************************
msgfile=ALLTRIM(cmcontrol.cpath) + ALLTRIM(cmemails.csubject)
o = CreateObject("Outlook.Application")
emailmsg = o.ActiveInspector.CurrentItem
memofiledvariable = emailmsg.body
***********************************************************************************
***********************************************************************************
***********************************************************************************
insert into cmemails (cprimary, csubject, ddate, dtime, cattribs, mbody) values (generateGuid(26), MyFiles[ i, 1], MyFiles[ i, 3], MyFiles[ i, 4], MyFiles[ i, 5], memofiledvariable)
endfor
USE IN SELECT('CMEMAILS')
USE IN SELECT('CMCONTROL')