Jump to content

random


This topic is 5687 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all,

Is there a way for FileMaker to generate a random number (4 digits preferably) in the field of my choice when I create a new record? I don't know if this is possible, but for it to only use that 4-digit number once? I don't want half the clients listed in my database to have the same client number.

Thanks!

Link to comment
Share on other sites

Hi

"random" numbers can repeat, as you certanly know !

So go on with autoenter a serial...

this can start from 1000, if you want 4 digit numbers or even from 0000 if you want 4 digit text.

Link to comment
Share on other sites

Hi Daniele,

I started to answer this earlier and got waylaid.

The only thing I would mention is :)

If there is already a field, use the Replace function in the Browse Mode to update the existing records before creating the Auto Enter.

And make the field a Text, and then you can use 0001.

HTH

Lee

Link to comment
Share on other sites

This topic is 5687 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.