Skip 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.

Auto generated password field

Featured Replies

Is there any way of using filemaker as a password generator. For my login system it is required that users have a random generated password, can I create this password in Filemaker or is there any software that can generate a password that can be placed into Filemaker

Thanks

There is no built-in way to generate or script creation of file-level passwords in FM6. You might see if New Millennium's Password Administrator can do any of this.

In FM7, you can script the creation of accounts and passwords, then use the Random function to help create a password.

  • Author

sorry - I undestand that filemaker cannot generate and then input a password to itself.

However can a field in the database be used to generate a reasonable password? Can the random function use characters and numbers? Or is there a piece of software that can generate the password then place it into this filemaker field.

Thanks

You can generate random numbers easily enough:

password (calculation, number result) = Truncate(Random * 1000)

But I'm not sure about letters. I suppose you could generate a series of random numbers between 1 and 26 and convert them to letters with a big case statement (or between 1 and 52 to get upper and lower case.)

But I'm not sure about letters.

Middle ( "ABCDEFGHIJKLMNOPQRSTUVWXYZ" , Max ( Int ( Random * 26 ) , 1 ) , 1 )

Let me not take credit for this; i got the idea from someone else on the forums, but forgive me, i can't remember who.

J

You will never get "Z" with that formula.

The correct formula is:

Middle ( "ABCDEFGHIJKLMNOPQRSTUVWXYZ" , Int ( Random * 26 ) + 1 , 1)

Or, in general:

Middle ( textstring , Int ( Random * Length ( textstring ) ) + 1 , 1)

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.