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.

"Primary Key Missing" Errors With ESS Under Windows

Featured Replies

Greetings Forum,

I have been encountering an issue with ESS and FMS 9. The server 9 machine is running Windows XP and has a DSN configured to an offsite MySQL server. Adding and working with MySQL table occurrences works fine. Interacting with the MySQL tables always works when connecting with a Mac client.

However, Windows clients require intermittent "Syncing" as Filemaker seems to drop the primary key from the MySQL tables. It would seem that this issue is related to Filemaker Pro client and not the server, as the problem only occurs when connecting via a Windows client.

When viewing a layout based on an ESS table, under Windows, all fields display "Primary Key Missing". At this point, I can click the "Sync" button in the external tables field definition dialog and, when prompted to select a primary key, can select the proper key.

All of the MySQL tables do have a primary key field specified.

Has anyone else encountered this error?

Regards,

John Lannon

  • 1 month later...

Hi,

what I have is loss of primary key in FM9 after opening the file in FM10.

Are you sure your mac version is not 10 ?

From what I've found I can open and create records in the ESS table with the FMA 10 client and have it still work in 9. Syncing in 10 still seems to keep things working in 9, but creating a calc field in the ESS table in 10 sometimes causes 9 to loose the key id. I've been trying to pin it down to a completely reproducible event before contacting Filemaker / Posting Here, but haven't been able too (I also haven't had too much time to look into it )

  • 6 months later...
  • Newbies

Hi there,

we actually have the same problem.

Server: FM 10.0.1.64 on Win 2003 Server

Clients: 9.0.3 (FMP) an 10.0.1 (FMP(A)) on Win XP SP2

After syncing an ESS Table (MySQL on Linux), the FMP 9 clients do not show any datasets and says "primary key missing", while the FMP 10 clients work without any problems.

Workaround: Sync the ESS tables with FMP(A) 9 client and set the primary key of ESS source manually.

My idea was: Is FMPA 10 trying to recognize primary key fields automatically?

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.