Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can FM to generate random passwords?

Featured Replies

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!

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

  • Author

Bob,

Thanks for the reply. Where do I place this code?

-David

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.