Synchronizing SQL & FOXPRO

  • Hi All,

    We have our current database in FOXPRO and now we are currently trying to move in to SQL and we are planning to implement in one department currently. Is there any way to synchronize FP and SQL tables like if the FP tables got updated it should update the SQL table automatically and vice versa so that we can compare both the tables and make sure the application is running without any problem until we move fully in to SQL since the rest of the applications depends on the FP database.

    Thanks

    Senthil

  • Hi Senthil,

    What version of FoxPro are you using. If you are using Visual FoxPro 3 or later, you can create a trigger in the VFP database that will execute code to update your SQL Server database every time an insert is made.

    The other option is to batch update your SQL Server tables. This would need to have a datetime stamp for last updated. Then on an hourly or daily basis, you can query for any changes to the FoxPro database in the past hour/day/week/whatever and perform your updates, inserts and deletes.

  • Also, pls don't cross post. We check all the forums.

    There are other answers in the other thread.

  • hi there

    Im checking other posts trying to find an answer for this...

    anyone has the direct link to the thread regarding this solution??

     

    thanks

    sergio

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply