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

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

Recommended Posts

Posted (edited)

Problem:

I am attempting to create a work around for not allowing users onto a server if they have a "User Name" setting in the Preferences > Application greater than 20 characters. It turns out that some individuals have long user names which is crashing our FileMaker Server 5.5 application.

Proposed Solution:

Create a jump script within FileMaker Pro 6 to place on the client machines with the following:

If User Name is > 20 characters then show message, "Please see your local Administrator to reconfigure your User Name."

Else

Go to file on server.

Note: it would be ideal if one file worked for all users.

Any insight or any ideas on how to accomplish this would be greatly apprecaited.

Thank you kindly.

Edited by Guest
Posted

Have you tried

Length( Status (CurrentUserName) ) > 20

Posted (edited)

Fitch- Thanks for the pointer, a variation of that function worked like a charm.

Here is my final script:

Set Field ["filemaker user name","Status(CurrentUserName)"]

If ["Length (filemaker user name) > 20"]

Show Message ["Invlaid User Name, please change..."]

Else

Open ["Database.fp5 (*)"]

Thanks for all of your suggestions, it is really appreaciated.

Edited by Guest

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