<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>16 Sep 2016 16:18:00 Z</lastBuildDate><pubDate>16 Sep 2016 13:49:00 Z</pubDate><description>Dear fellow windev developers,&#13;
&#13;
I am hoping someone can help point me in the right direction with an issue when changing database table connections.&#13;
&#13;
I have an application that uses a hyperfile classic analysis with files locally in the executable directory. This all works absolutely fine. Within this analysis I have links for relationships between some of the tables.&#13;
&#13;
I want to change the source location for 95% of these tables to a HFCS Client/Server which I have already setup and with the following commands I am able to do this for any table that has no links.&#13;
&#13;
&#13;
Server is Connection&#13;
&#13;
// Parameters of the connection&#13;
Server..Provider = hAccessHFClientServer&#13;
Server..User = "Admin"&#13;
Server..Password = ""&#13;
Server..Server = "RLSXPS1:4900"&#13;
Server..Database = "FRM"&#13;
Server..CryptMethod = hCryptNo&#13;
&#13;
// Opening the connection&#13;
IF HOpenConnection(Server) = False THEN&#13;
&#13;
Info(HErrorInfo(hErrFullDetails))&#13;
&#13;
END&#13;
&#13;
IF HChangeConnection(FreeText,Server)= False THEN&#13;
&#13;
Info(HErrorInfo(hErrFullDetails))&#13;
&#13;
ELSE&#13;
&#13;
HChangeDir(FreeText,".")&#13;
&#13;
//Info("New Connection",HNbRec(FreeText))&#13;
IF HCreationIfNotFound(FreeText) = True THEN&#13;
&#13;
FreeText.FreeText = "TEST"&#13;
HAdd(FreeText)&#13;
&#13;
END&#13;
&#13;
&#13;
END&#13;
&#13;
However when we try to perform this task on a table that has links we get the following error:-&#13;
&#13;
Error at line 24 of Global Procedure DatabaseConnect process.&#13;
HCreationIfNotFound function called.&#13;
The constraint for referential integrity links a file found on a HFSQL server to a file that does not use the Client/Server mode. This is not allowed.&#13;
&#13;
Can anyone offer some advice on how to resolve this please?&#13;
&#13;
Thank you for any assistance,&#13;
&#13;
Lee Shroder</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server/read.awp</link><title>How to move from classic to client/server</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59603/read.awp</comments><pubDate>16 Sep 2016 16:18:00 Z</pubDate><description>Thank you so much Fabrice for pointing me in the right direction, my headache has now all gone thanks to your guidance :)&#13;
&#13;
Lee…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59603/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59603/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server/read.awp">How to move from classic to client/server</source><title>Re: How to move from classic to client/server</title></item><item><author>WinRock</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59600/read.awp</comments><pubDate>16 Sep 2016 15:16:37 Z</pubDate><description>no its possible&#13;
u just have to change the type of the files from the context menu-&gt;file description and select the connextion&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59600/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59600/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server/read.awp">How to move from classic to client/server</source><title>Re: How to move from classic to client/server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59601/read.awp</comments><pubDate>16 Sep 2016 15:04:00 Z</pubDate><description>Hi Lee&#13;
&#13;
of course it is possible...&#13;
&#13;
just :&#13;
&#13;
1. deactivate integrity management&#13;
2. loop on all files&#13;
3. reactivate integ…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59601/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59601/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server/read.awp">How to move from classic to client/server</source><title>Re: How to move from classic to client/server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59599/read.awp</comments><pubDate>16 Sep 2016 14:29:00 Z</pubDate><description>Hi Joris,&#13;
&#13;
Thank you for your response, however the final desired result is to move all tables that have constraints to the cl…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59599/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59599/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server/read.awp">How to move from classic to client/server</source><title>Re: How to move from classic to client/server</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59598/read.awp</comments><pubDate>16 Sep 2016 14:20:00 Z</pubDate><description>Hi,&#13;
&#13;
Indeed, it is not possible to use a integrity constraint between a classic file and a file in client/server mode.&#13;
This i…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59598/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server-59598/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59597-how-move-from-classic-client-server/read.awp">How to move from classic to client/server</source><title>Re: How to move from classic to client/server</title></item></channel></rss>
