Jump to content

Passwords?????????


harrrrrrry
 Share

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

Recommended Posts

Don't know where to put this question but here it is.

I have a database of 600 contacts Name/ address/ phone/fax/ etc

I have set up two fields username and password

Username is not a problem

Is there any way of generating a random password for each one within filemaker?

Link to comment
Share on other sites

  • 1 month later...

If you ant use use pre-defined passwords, you can have a file of them, then write a script to go to a random record number, copy the password, mark it as "used" and paste it into the person's record.

Or, you can use a loop to generate a radom string. Such as

go to record/request [first]

loop

loop

exit loop if length(password) > 5

set field [gAlpha,"abcdefghijklmnopqrstuvwxyz1234567890"]

set field [password,password & middle(gAlpha,int(random*36+1),1)]

end loop

go to record/request [next, exit after last]

end loop

(or something like that).

Jeff

Link to comment
Share on other sites

This topic is 6539 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.