December 15, 200916 yr I have a layout with five number fields. I would like to have appear in each field in a record of that layout a random number from 1 to 50, making certain that no field in the record has a repeat of a number from another field in that record. In other words, each record contains 5 unique numbers, anywhere from 1 to and including 50. Can anyone assist me with a formula that accomplishes this task?
December 15, 200916 yr Author Please excuse me. I am very new to Filemaker and am a bit confused by your suggestion. I downloaded the file you sent and pushed the Insert Values button but nothing happened to the fields. I did notice a change in the cursor's shape, however. Am I to add something to the script you created? Am I to insert something in the fields? Perhaps I should have waited longer for the loop in the script to work? Thanks for your help.
December 15, 200916 yr Did you delete the record ? If yes, create a new record before pushing the button.
December 15, 200916 yr Daniele's file requires version 8.5 or higher. It shouldn't be too hard to adapt it for version 7, but - could you first explain the purpose behind this?
December 15, 200916 yr Daniele's file requires version 8.5 or higher. Ohhh, sure ! I didn't see your FM version !
December 15, 200916 yr It shouldn't be too hard to adapt it for version 7 I do not remember if there was the $var in version 7. If yes, it isn't too hard to adapt. sburech2.zip
December 16, 200916 yr Author Thanks. That did it. And the purpose was "just for fun." I am trying to learn the program which was given to me. I am an amateur and intend to stay that way.
December 16, 200916 yr From the school of Søren Dyhr. Yikes yesterday did I recieve a mail calling me a prominent member of the filemaker community and now this, is some sort of conspiracy going on here? Would you like the IBAN code to my bank account to donate appropriately or... ? --sd
December 16, 200916 yr is some sort of conspiracy going on here? Yes. I received the same mail and I have managed to trace it back to extra-terrestrial aliens trying to take over the planet Earth by planting bugs in database applications.
Create an account or sign in to comment