Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 4 of 4 total |
Using a mixture of local and remote databases |
Tue, Mar 11 2008 9:25 AM | Permanent Link |
edhrx | Hi. I wonder if someone could offer some advice.
I have an application which needs to be coded so it can run stand alone, but can also run remote (but not the same installation). Further, if it is set up to run remotely then I populate a load of 'local' table to populate look ups. In a datamodule I have edbengine, session and database to run the local tables and edbengine , session and database to handle either the remote or stand alone. Question: when running for a remote set up does this engine become redundent as the configuration in the session handles the connections to the remote data. If I sound confused its because I am. In DBISAM world the scenario was fairly easy to handle, but this is the start a large project and want to get off on the correct foot. best wishes Ed. |
Tue, Mar 11 2008 9:53 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | edhrx
You only need one set of engine/sessions/databases since the switch from local to c/s (which is what I presume you're talking about with remote) is a simple alteration of a few properties for the engine (eg EngineType). I think you should even be able to set all the stuff in the engine and session and then flip between them using UseLocalSessionEngineSettings. Roy Lambert |
Tue, Mar 11 2008 4:58 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ed,
<< Question: when running for a remote set up does this engine become redundent as the configuration in the session handles the connections to the remote data. >> Yes, the engine component isn't really used for remote sessions. Instead, the engine component in the ElevateDB Server (that the remote session connects to) handles the configuration, etc. that is normally required for local or direct sessions. -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Mar 11 2008 5:00 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< You only need one set of engine/sessions/databases since the switch from local to c/s (which is what I presume you're talking about with remote) is a simple alteration of a few properties for the engine (eg EngineType). I think you should even be able to set all the stuff in the engine and session and then flip between them using UseLocalSessionEngineSettings. >> Not quite, but close. Once everything is set up, the only thing that requires changing is the TEDBSession.SessionType property, which will change from stLocal to stRemote (or vice-versa). -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |