Welcome! Log In Create A New Profile

Advanced

Find out dir database in HFCS

Posted by jtadebruin 
Find out dir database in HFCS
September 06, 2022 02:52PM
Hello,

Is there a windev function that gives me the Directory of databases: from the HFCS server?


TIA !!

Jan
Al
Re: Find out dir database in HFCS
September 06, 2022 03:25PM
Hello Jan,

This from the help on fDataDir()

Returns the full path of the directory of HFSQL data files specified by the user when installing the application.
Remark: This directory does not necessarily correspond to the real directory of the data files at run time (that may have been modified by HSubstDir, HChangeDir, ...).

It may work for you or try fCurrentDir()

Regards
Al
Re: Find out dir database in HFCS
September 06, 2022 03:31PM
Hoi Al,

That's what I thought too...but unfortunately this doesn't work
I work with HFCS and with FDataDir() I get back the EXE folder....


spinning smiley sticking its tongue out
Re: Find out dir database in HFCS
September 07, 2022 01:04PM
Hi,

naturally, there's no way to get at the directory of a database. Let's assume, the database is running on a Linux server, what to do with the directory info?

You could, of course, use a stored procedure in order to find out the database's directory.

Kind regards,
Guenter Predl
office@windev.at
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: