Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Can FM generate random passwords containing both "alphabetical" and "numerical" units? For example: f3ds4s2

I've figured out how to generate random numerical "PIN" numbers. For example:

Round(Random* 10000, 0)

However, I'd like to have FM also generate passwords in the formate listed above. Can this be done? If so, how?

Thanks!

Posted

gCharacterList = "0123456789abcdefghijklmnopqrstuvwxyz"

Char1 = Middle(gCharacterList,Int(Random*35.999)+1,1)

Char2 = Middle(gCharacterList,Int(Random*35.999)+1,1)

Char3 = Middle(gCharacterList,Int(Random*35.999)+1,1)

Char4 = Middle(gCharacterList,Int(Random*35.999)+1,1)

Char5 = Middle(gCharacterList,Int(Random*35.999)+1,1)

Char6 = Middle(gCharacterList,Int(Random*35.999)+1,1)

Password = Char1 & Char2 & Char3 & Char4 & Char5 & Char6

Posted

It depends how and when you are assigning the passwords. I assume you are using a script. If so, then make all of these global fields, and then use "Set Field" commands in your script to assign the values to Char1...Char6 and Password. The value of gCharacterList can be preset to the text value shown when you set up the database.

This topic is 8622 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
×
×
  • Create New...

Important Information

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