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

Hey all,

I am sitting here thinking about a database, my first one obviously. Well actually I am making some changes to an existing one I guess as we already have a massive database, however the designer didn't really create this database the way we wanted it so I am here to save the day and make some changes, or create new ones if need be. Anyways I am wondering how I mark a field as a primary key for a table?

Thanks in advance B)

-B

There is no checkbox to check that "marks" a field as a primary key.

Developers adopt some field naming standards, in order to better read their work. You may wish to read the FMI Developer Conventions doc for some suggestions. White Paper Link

  • Author

From my understand primary keys are mandatory in database so each record is unique and to index.

Maybe its not called a Primary key in FileMaker and called something else?

I never used FileMaker before too much, all my database knowledge comes from college and using SQL databases, where primary keys are a must to even create a database.

Yes, a primary key is a field that contains a value unique to all records in the table. Typically, in FM, one uses a number field, and sets its Entry Options to serial number, prohibit modification.

I name my primary keys, "__kP_Table_ID," so that they come to the very top of an alpha sort field list. btw, I name foreign keys, "_kF_Table_ID."

Filemaker doesn't force you to designate a primary key. However, it's good practice to have an auto-entered serial number field in every table and treat it as the primary key for that table.

  • Author

Thank you both for your input!!

Now I can get to work on this... :hair: lol

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.