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.

If User Name is > 20 character then...

Featured Replies

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

Have you tried

Length( Status (CurrentUserName) ) > 20

  • Author

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

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.