Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Connecting to DataSets at Run Time
Mon, Sep 28 2015 6:07 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

In my ElevateDB windows applications, I set the connection parameters from an INI file in the BeforeConnect method of the Session.

Example INI file below.

[DB]
ConfigLocation=\\wck\Databases
Database=ES_StockDB

[dmData]
SessionType=stRemote
RemoteHost=wck
RemoteAddress=
RemotePort=12010
RemoteService=


In EWB, can we get access to the DataSet's Connection Properties and do the same function.

Richard Harding
Tue, Sep 29 2015 11:20 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Richard,

<< In EWB, can we get access to the DataSet's Connection Properties and do the same function. >>

If you're referring to the EWB Web Server side of things, then no, not by default.  However, you can create your own dataset module for the EWB Web Server and set things up like you're used to doing.  Check out the Custom DataSet Module example project (datasetmodule) that ships with EWB for more information, as well as this link:

http://www.elevatesoft.com/manual?action=topics&id=ewb2mod&product=rsdelphi&version=XE&section=getting_started

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Sep 29 2015 5:18 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

Thank you Tim.

Richard Harding
Image