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.

Using ODBC to update records in Filemaker

Featured Replies

  • Newbies

When importing files into filemaker, you can designate a "match field" and then update the record with the imported data instead of creating a new record.

I'm working on getting and putting info into Filemaker via ODBC. I can find and retrieve records just fine with ODBC (not the speediest though), but when I try to use a primary key and update a record, it simply creates a new record instead of first finding the matching record. I'd like the behavior of using the primary key as a "Match Field". Is there something I'm missing, or is it as I fear and Filemaker's ODBC implimentation is just poor in this regard.

This is using OS X, and the other side is the UPS Worldship software.

-Preston

I'm also working on this issue. I think the match field is actually the primary key. What SQL statement are you using? (I tried "SELECT SerialIDfield1 from DATABASE1," but that overwrote unrelated records. I'm now experimenting with "INSERT into DATABASE1(SerialIDfield1) values (SerialIDfield1)" but it doesn't assign the right serial number to the new record. I also tried "values(MAX(SerialIDfield1)+1)", but that messed things up, didn't do what was expected, and caused my program to quit.

What I probably want is a statement that inserts the default value. Would this work: "INSERT into DATEBASE1" without specifying the column or the value? Or should it be: "INSERT into DATEBASE1(SerialIDfield1) values(<<some way to indicate default>>)"?

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.