George TOUBALIS Posted April 23, 2005 Posted April 23, 2005 Well this the problem I Have a color calculation programme It use 2 groups of Numbers 1st Group 0-255 (Field B the Result LOCKED ) 2nd Group 0-400 (Field A Enter value 0-400) It gives me one open field to ender a number betwwen 0-400 ( 1, 5, 80, 235 etc) And One Locked Field When I write "5" the Locked Field show me "251.75" Some RESULTS are: 255 < - 0 251.75 < - 5 248.50 < - 10 245.50 < - 15 223.25 < - 50 127.50 < - 200 0 < - 400 What is the relation between two fields? Can I white a calculation in my FM database To Enter a value (0-400) and have the result In another field.:? GEORGE TOUBALIS
comment Posted April 23, 2005 Posted April 23, 2005 Hi George, As far as I can tell from your data, this is quite simple. Define two fields: Input (number) cOutput (calculation, result is number) = 0.25 * Round ( 4 * ( 400 - Input ) * 255/400 ; 0 ) Go to Layout mode, and format cOutput as decimal, with fixed 2 decimal digits.
Recommended Posts
This topic is 7153 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