markpiotrowski Posted February 4, 2008 Share Posted February 4, 2008 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"). OTHERWISE, B: If their "membership date" field is blank i want their memberhisp field blank; OTHERWISE 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 Quote Link to comment Share on other sites More sharing options...
markpiotrowski Posted February 4, 2008 Author Share Posted February 4, 2008 i figured out why it "wasn't working" --- the test record had the C100 checked so when i tried changing the date it was overridign that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.