Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 3 Jahren, 3 Monaten
Letzter Beitrag:
vor 3 Jahren, 3 Monaten
Beteiligte Autoren:
Andre Fourie, Alen U., Peter Holemans

Windev 14 Classic migration to HF Server

Startbeitrag von Andre Fourie am 17.03.2015 07:35

Hi

My application is in windev HF Classic single user, In some programs I use Files in 2 different directories simultaneously makeing use Of "HChangedir", I am migrating the system to HFSQL Client server, I know "HChangedir" and Subsdir does not work in HFSQL Server as all the files must be in one location. In my case all the history files are in a different directory, too many files to keep in the same location as my current files. Has anyone come up with a good way to cope with this when migrating to the HFSQL Server. I would really appreciate your expert advice.
Thanks

Antworten:

Hi Andre,

It is easy...
I assume it concerns different files in different directories.
In that case group the two sets of files in two folders in your analaysis design.

These will point eventually each to there own database on the HFSQL server.
Next you define two connections in code (hdescribeconnection) and do a hChangeConnection for the name of the first group and an hChangeConnection for the second named group in the analysis. (You can use the names of the folders in your analaysis to do it for a whole group of files).

Cheers,

Peter H.

von Peter Holemans - am 17.03.2015 08:35
Thank you Peter

I will certainly try it, makes good sense to me, I will let you know.

Thanks again
Andre

von Andre Fourie - am 17.03.2015 08:55
Hi Andre,
I don't know about version 14 but hchangedir works with HFSQL CS form v15 to v19.

Here is link
http://doc.windev.com/en-US/?3044168&name=HChangeDir

BR,
Alen

von Alen U. - am 17.03.2015 16:28
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.