Author Topic: PCEM_SaveRecord  (Read 1779 times)


  • Member
  • *
  • Posts: 6
« on: September 13, 2011, 11:02:31 AM »
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  :)


Kevin Clemons

  • Member
  • *
  • Posts: 65
    • Productive Computing
Re: PCEM_SaveRecord
« Reply #1 on: February 02, 2012, 04:58:33 PM »
PCEM_SaveRecord is used to send emails, this is referred to as the "Long Method". This function saves the record, if the record is being saved as an email it will be saved in your Outbox.

I will require more information on what you are trying to accomplish before I can recommend what function you should be using.
Kevin Clemons
Products Support Specialist

950 Boardwalk, Suite 205
San Marcos, CA 92078
760-510-1200 xt.105 (voice)  760-510-1991 (fax)

Follow Productive Computing, Inc. on Twitter or FaceBook for the latest updates and product versions.