We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38666
    • 98 Posts
    I have an organisation which maintains a member list in an Access database, we would like to ensure that the website member list matches that held by the organisation secretariat. Rather than reinventing the wheel does anyone have a routine to synchronize an Access table with a matching custom table in Modx?

    Thanks
    Jim
      Give a man the answer, and he’ll only have a temporary solution. Teach him the principles that led you to that answer, and he will be able to create his own solutions in the future.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Probably the best thing would be to save the Access (Access??) database as a .csv file, then import that into your MODx table. Usually a cron job automates such a process. Any script can load the .csv into the MODx table, I'd be inclined to use a perl script for that.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 38666
        • 98 Posts
        Thanks Susan
        That was my inclination, but wanted to fly it past the forum and see what other ideas might be out there.

        Jim
          Give a man the answer, and he’ll only have a temporary solution. Teach him the principles that led you to that answer, and he will be able to create his own solutions in the future.