MnR Posted January 27, 2005 Share Posted January 27, 2005 hi, I am not sure how to get a field to except an input with 3deciaml places. The user has to basically input a weight (in kg) to the nearest 5g which i think should be 3 decimal places. I need a way to define the field to accept this. Ideally the decimal should be already in the field but it doesn't matter. MnR Link to comment Share on other sites More sharing options...
Slobey Posted January 27, 2005 Share Posted January 27, 2005 Any number field will accept this. right click on the field in layout mode and go to "format number". select "format as decimal" with "fixed number of decimal digits" at 3. You can also choose Use "notation" and add the Kg Link to comment Share on other sites More sharing options...
QuinTech Posted January 27, 2005 Share Posted January 27, 2005 And if you want to enforce entry to at most 3 decimal places, validate the field with: (tableName::fieldName*1000) = Int(tableName::fieldName*1000) HTH, Jerry Link to comment Share on other sites More sharing options...
MnR Posted January 27, 2005 Author Share Posted January 27, 2005 Thanks that helps lots! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6627 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