Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7408 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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
Posted

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.

This topic is 7408 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.