Hi All.
I have FMP Adv, 10.0 v3, Windows 7 and Outlook 2007.
I'm looping through all the emails in the inbox using PCEM_GetFirstRecord, PCEM_GetNextRecord. At each iteration of the loop I want to change the value in the Categories field of the outlook email. I close the email record with PCEM_SaveRecord (with either no optionalParam or DontSend, both give the same result) before going throught the loop again. The Categories field is changed, but the email is moved to the outbox, which I don't want to happen.
Please can anyone point out my mistake and point me in the right direction? I'm sure it's someting very basic, but I'm blowed if I can work it out!
Many thanks for anyone's help

Paul