Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Using Case/If + date to change a field's value


Recommended Posts

I'm working on a membership DB and want a field ("membership") to be set as a calculated result (case calculation below). It worked the first time (when i created the field definition) but doesn't seem to be dynamic ... i.e. if i change or delete the field (membership date) that the calculation is largely based on it doens't change the MEMBERSHIP field


Case(c100 = "Y","member", LP Membership Date = "", "", (TextToDate(LP Membership Date) +364) > Today, "member", TextToDate(LP Membership Date) ≤ Today, "lapsed", "")


Just to explain what i'm tyring to do with the statement:


A: If someone has c100 "checked" then i want their membership radio button cheked (by setting the field to "member").


B: If their "membership date" field is blank i want their memberhisp field blank;


C: i want the memberhisp field to be "MEMBER" if their membership date (plus 365 days) is after TODAY, and set to "LAPSED" if there membeship date is today or before.


Is it because i'm using a CASE instead of IF/ELSE statement?

thanks for the help in advance

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use