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.

Importing by matching field names

Featured Replies

So I'm using ODBC to import a table of accounts from SQL Server. I want my FM table to be a mirror of the SQL Sever system. The obvious choice is to use the acct_id primary key field as the match for updating records. Also, there is a preference for creating new records when non-matching (new) records are created in the SQL system.

The problem comes up when records are deleted from the SQL server table. This doesn't cause records in my local table to be deleted. Importing doesn't seem to trigger record modification timestamps to change either. So how can I easily delete only records that are deleted from the remote table?

Any input on this is greatly appreciated.

Dana

  • Author

I forgot to mention that I don't want to have to delete all records and reimport because I have related records in a join table that I don't want to orphan.

  • Newbies

a possible solution is to create another table in FM7 (o another file in FM6) with only the key, delete and import record every time, then link this file with the old one in relation and perform what you want.

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.