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.

Ampersand and Unique

Featured Replies

  • Newbies

I'm trying to build a db system for signing up participants and scoring in an Observed Trials club (an obstacle-oriented form of off road motorcycle competition).

The present problem (I'll have others) is in preventing a rider from accidently being entered twice during the rather hectic sign-up process.

I want to have an AutoEntry field which automatically concatenates the Event ID with the Rider ID, and for which validation is Unique. Then, if the user accidently tries to sign up a rider twice (in two classes, for example), a message will alert him that that rider is already entered. However, I can't make this work.

To try to figure out why, I tried a simple test:

New file.

Text Field: Event

Text Field: Name

Auto-entry Text Field: EventName

I make the Auto entry to be by Calculaton with:

Event & Name

The two problems are:

1) The Auto-Entry field refuses to concatenate the two values. Only the value from one field shows up. So I tried defining EventName as a Calculation field, using the same calculation. It works as expected, but I don't see any way to set the Unique validation requirement for a calc field.

2) The Auto-Entry field seems to ignore the Unique requirement. Even if I set the calculation to only: Name, I can still create new records, key in the same name, and end up with identical records.

Surely I'm misunderstanding something basic. Can someone please explain what I am failing to understand about auto-entry fields and validation?

James

Instead of making the validation field an auto-entry, set it up so that it can't be empty and must be unique, and have a button next to it. The button activates a script that checks to make sure the other fields aren't empty, then sets the field to equal the concatenation.

I would also go into the layout mode and disallow manual entry into this field.

That should do it.

HTH,

Dan

A Plug-in will work as well..

oAzium Date & Time 3.01

You could set up something that will prevent you from double booking an participant.

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.