icefield Posted November 12, 2001 Posted November 12, 2001 hi folks, i am trying to set up a calculation field (fm4) that will change an amount due based upon the record creation date. the calculat[ion does not seem to care for the date in dd/mm/yyyy format. here's my calculation: If(required2002 Convocation Honoree = "Senior Associate 2001-2002" or required2002 Convocation Honoree = "Leadership Associate 2001-2002" or Date ? "11/30/2001", "195", "225") no matter what i do, the amount is still "225" even though the creation date of any record i enter is prior to 11/30/2001. please help! ezra
icefield Posted November 12, 2001 Author Posted November 12, 2001 sorry the ? (in the calculation i copied into the post) is actually <= ........
spb Posted November 13, 2001 Posted November 13, 2001 I had a similar problem. The solution was to make another field, a calculation field that takes the contents of the "Date" field (which I presume is a record creation field that is automatically filled) and runs the DateToText calculation step on it. This takes the date out of Filemaker's internal date storage format (which has foiled many a script) and converts it to the text version you actually see on the screen. Then change your script to reference this new field. I hope I haven't steered you wrong here. I'm fairly inexperienced, but this is a solution that worked for me.
icefield Posted November 13, 2001 Author Posted November 13, 2001 thansk steve! i'll give it a shot...... best regards, ezra
Thom Posted November 15, 2001 Posted November 15, 2001 Use the Date() function, like this: Date (month, day, year) or, in your case: Date(11,30,2001)
Recommended Posts
This topic is 8480 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