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.

Featured Replies

  • Newbies

I found a way to enter First and Surname into two fields and have FMP check them for both being unique in real time. The solution involves the Status(CurrentFieldName) command. This can be used to perform a calculatopn ONLY if you are currently in a specified field.

Your file has the following fields:

First

Surname

Address

You will also need to create the following calculation:

FullName (Calculation, Text result) = Name & Surname

Next create a self-join relationship based on FullName. This is a relationship in which the master file and related file are the same database file.

To create a self-join:

1. In the current file, choose File menu > Define Relationships. Or, choose Define Relationships from the relationship list.

2. In the Define Relationships dialog box, click New.

3. In the dialog box that appears, double-click the name of the current file.

4. In the Edit Relationship dialog box, for Relationship Name, type a unique name for the relationship, for example

That's really neat!

Suggested modification -

Case((Status(CurrentFieldName) <> "First") and

(Status(CurrentFieldName) <> "Surname"),

Case(FullName=SelfJoin::FullName,"Warning Duplicate Name",""),"")

This caters for files with more than three fields.

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.