Marcia
I have subscribed to FoxTalk. the code snippet you sent me is not from Whil's article
but from the one you wrote, also in FoxTalk, about Outlook. It has the recursive
code for looking in all folders and sub-folders, which is the part I had
not figured out.
IF toFolder.Class = 2
loFolders = toFolder.Folders
FOR EACH loFolder IN loFolders
This.ReadMail( loFolder )
ENDFOR
ENDIF
In the same, I also see code that I think will once and for all show me how to find
out if "outLook" or "excel" have alreadby been declared and are in use.
IF TYPE( 'This.oOutlook' ) = 'O' AND NOT ISNULL( This.oOutlook )
I have 2 questions:
1. In intelligence, I can see that toFolder.Class does = 2 but is there documentation
somewhere that explains what the different values of .class mean?
2. Why is this code recursive? Or maybe it's just enough to know that it is!
FOR EACH loFolder IN loFolders
This.ReadMail( loFolder )
ENDFOR
Thanks so much and Happy Holidays!
Steve