Matthew R White Posted June 6, 2013 Posted June 6, 2013 I have a number field that I would like to auto enter either (2, 3, or 9) at random every time a new record is created. Please help! Thanks Matt I tried to do a sequenced auto enter but filemaker simply counts up from 1 and I can't specify the 3 numbers. Thanks
David Jondreau Posted June 6, 2013 Posted June 6, 2013 Something like this may work: Choose ( Mod ( Truncate ( Random * 100 ; 0 ) ; 3 ) ; 2 ; 3 ; 9 ) Put it in the auto-enter calculation dialog.
Raybaudi Posted June 7, 2013 Posted June 7, 2013 I like John's calculation. This is mine ( less semicolons to write for many numbers ): Middle ( 239 ; Ceiling ( Random * 3 ) ; 1 )
Recommended Posts
This topic is 4434 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