Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread EDB 2 Support Local-Remote in Mixed mode ?
Wed, Feb 29 2012 3:54 AMPermanent Link

Mauro Botta

hi

1) Can i to have 2 session , first LOCAL , and second REMOTE ?  used in Mixed Mode ?

the folder archives and  always the same


I have an application designed for local access, 95 % of table should to use Local Mode.

but I would like to use for some heavy query a remote mode to decrease network traffic.



2)  Can i to activate EDB Server in My application ? How ?



Tnx

Mauro Botta
http://www.midaconverter.com
Wed, Feb 29 2012 2:21 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mauro,

<< 1) Can i to have 2 session , first LOCAL , and second REMOTE ?  used in
Mixed Mode ?  >>

Sure, no problem.

<< 2)  Can i to activate EDB Server in My application ? How ? >>

Are you asking if you can embed an EDB Server in your application ?  If so,
then yes, you can.  Just change the TEDBEngine.EngineType from etClient to
etServer.  The rest stays the same.

If you're asking if you can remotely start up an EDB Server, then no, not
using the EDB code.

--
Tim Young
Elevate Software
www.elevatesoft.com
Tue, Mar 6 2012 12:32 PMPermanent Link

Mauro Botta

Hi

I'm tring...but i have an error

all ok , when i read table using a remote database / session.

but now i must write a field.. and un error "Access Violation"... is showed.

dm.tblInfo.open;
sTemp := dm.tblInfo.FieldByName('INFO').AsString;
....
...
dm.tblInfo.Edit;         <-- ERROR



hint ?
Wed, Mar 7 2012 3:14 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Mauro


An AV is raised when a component you're trying to access doesn't exist. So the probability is that somewhere between your open and edit statements you've freed either dm or tblInfo or both

Roy Lambert [Team Elevate]
Image