IP driver: one client using files from two different data managers on different servers (Reported, not reproduced)

Applies to: the IP driver, 2014; the thread names no Clarion version.

Problem as reported

A developer needed an application to update a file set of one data manager from a file in another data manager, possibly on a different server. The documentation says a connection string can be set before a file is opened, but IPx.SetConnectionString(Var) had no effect on the connection; only changing the global IPDRV::OWNER did. A different OWNER attribute per file in the dictionary did not seem possible.

What the thread found

  • Close all files and call CloseConnection(): a file cannot be re-pointed to another data manager while the first is still active. The poster was using two different files from two dictionaries, so this did not apply.
  • Another poster tested a set-up with good results. In the data DLL, in Program Setup at priority 1501, he read the data folder of each data manager from an INI file, then for each file called IPx.SetConnectionString(IPDRV::OWNER) and IPx.SetFileName('Name', CLIP(GLO:DataPath) & '\' & CLIP(GLO:FileName)). The original poster was already changing file names and folders in the data manager and wanted different servers.
  • Stamos said several data servers can be used at once, as long as the files differ and files used earlier are closed before the same file name is opened on another data server. He pointed to the IPChangeFileName code template and its Connection String button. The original poster tried it: it did not change the connection to a different server.
  • The original poster described what worked for him in a document on his own site and considered a feature request.

Caveats

  • The test by the third poster used file-name changes and may not cover separate servers.
  • Reading data from both servers at the same time was described as difficult; a local or memory table in between was mentioned.

Today (2026)

Not reproduced. This entry records a 2014 report; a reader on a current build who has this working is asked to confirm or close it.

Sources: Rohan (Feb 2014, the question), Stamos, Oswaldo P. (Feb 2014) in softvelocity.clarion.databasedrivers.