Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 2 of 2 total |
AddRemoteDatabase (relative path to server) |
Tue, Jan 15 2008 8:41 PM | Permanent Link |
"Ralf Bertoldi" | I added a remote database with
AddRemoteDatabase('test','''test')... so, the server created a subdirectory \test, thats fine.. If I would ask the server in a stored proc with ServerEngine.GetServerDatabase(MyRemoteParamDBName, MyDatabaseDesc,MyDatabasePath); MyDatabasePath is just 'test'. If I would create a query in the stored proc and assign MyDatabasePath to the DatabaseName of the query that won't work. Is there any way to create a remote database by just give a name and have it working in a stored proc? I know, I can use another stored proc for this (get the path, create the db, ..) but maybe I missed something of the standard function that are already there. TIA ralf |
Wed, Jan 16 2008 12:45 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ralf,
<< If I would create a query in the stored proc and assign MyDatabasePath to the DatabaseName of the query that won't work.>> Correct, which is why in your stored procedure you have to resolve any relative path names as appropriate based upon where the relative paths to the databases should be. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 23, 2024 at 08:10 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |