grumbachr Posted October 2, 2007 Posted October 2, 2007 Not sure what I'm doing wrong but as in the past these seems very easy for others. Below is my calc. I need to find males between the age of 18 and 24 and females between the ages of 16 and 24. My "c_Curent_Age" field just stores their age in number of years. so 12, 13, 14... its not a FM date. "Unstored, from Contact, = Case ( Contact::Gender ="male" and c_Current_Age ≥ 18 and not c_Current_Age < 25; "male" ; Contact::Gender ="female" or "Female" and Contact::c_Current_Age ≥ 16 and not Contact::c_Current_Age < 25; "female" ; "" ) " As always your suggestions are greatly appreciated.
comment Posted October 2, 2007 Posted October 2, 2007 (edited) The "not" seems peculiar. Also, if this a calculation in Contact, why are the referenced fields in the form of related fields? Edited October 2, 2007 by Guest
grumbachr Posted October 2, 2007 Author Posted October 2, 2007 see i knew it would be easy. taking out the not ( i tried it with and without before) and cleaning up the calc after moving it from one table to anther its working. thanks a million
comment Posted October 2, 2007 Posted October 2, 2007 Good. BTW, the empty default result is not required.
Recommended Posts
This topic is 6357 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now