Newbies stanleypane Posted June 30, 2005 Newbies Posted June 30, 2005 I'm stuck on a rather simple problem and I am hoping one of the pros on this forum can help me out. Keep in mind that I am just beginning to get used to Filemaker, having never used it before. I am setting up a database that will be used by some folks here is the U.S. and some folks over in China. In this database, we will include various measurements of sorts. Basically, we want to have the metric system and the standard U.S. measurements. We have two fields in our database. Cent and Inch. Basically, when someone enters centimeters in the Cent field, we want the Inch field to calculate a division by 2.54. Vice versa for the Inch field. When someone enters a value in the Inch field we want the Cent field to do a multiplication by 2.54. I can't for the life of me (remember, I'm a beginner) figure out where to start with this one. I thought it would be as simple as specifying a calculation for each field when I define my database. No dice. One field always takes precedence over the other. Perhaps someone here would be so kind as to help me with this one?
-Queue- Posted June 30, 2005 Posted June 30, 2005 Make Cent a number with an auto-enter calculation, and 'do not replace existing value' deselected, of If( Get(ActiveFieldName) = "Inch"; 2.54 * Inch; Cent ) Similarly, make Inch an auto-enter calc, with 'do not replace existing value' deselected, of If( Get(ActiveFieldName) = "Cent"; Cent / 2.54; Inch )
Inky Phil Posted July 1, 2005 Posted July 1, 2005 I know this is not my post but thanks for that answer queue Phil
Newbies stanleypane Posted July 6, 2005 Author Newbies Posted July 6, 2005 Your response worked like a charm! Thanks for the help, -Queue-.
Recommended Posts
This topic is 7079 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