S
Scott Smith
When I send a mailing to a prospect, I log a journal entry associated
with the contact. I also have a user-defined field called "Mailing
Frequency" in a custom form. (It is an integer specifying days
between mailings.)
In a contact view, custom form, or something, I need to do the
following:
For each contact, find the last entry type containing the word
"Mailed", extract its date, add the "Mailing Frequency" value to it,
and calculate the next mailing date.
(Ultimately, I would like to sort contacts by this calculated 'Next
mailing date' for doing a mail merge.)
Any help getting me started would be appreciated
with the contact. I also have a user-defined field called "Mailing
Frequency" in a custom form. (It is an integer specifying days
between mailings.)
In a contact view, custom form, or something, I need to do the
following:
For each contact, find the last entry type containing the word
"Mailed", extract its date, add the "Mailing Frequency" value to it,
and calculate the next mailing date.
(Ultimately, I would like to sort contacts by this calculated 'Next
mailing date' for doing a mail merge.)
Any help getting me started would be appreciated