🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by ��len TOZKOPARAN Thu, 26 Apr 2001 05:16
MIDAS & MTS
#689
Author: ��len TOZKOPARAN
Date: Thu, 26 Apr 2001 05:16
32 lines
1955 bytes
Hello,
I Have a few questions regarding MTS and MIDAS.
I Have developed some MTS components (Remote DataModules) and installed them
in MTS environment.
Basically When I want to fetch Data from My remot DataModule, I Send an SQL
Statement to the MTS objects
whichs changes SQL property of the QUeryobject in the RDM and the use a
TClientDataSet to get
the data from the DataSet Provider.
Basically I have the following lines of codes..

// Conect to AppServer
.....
MyRDMDisp.SetSql(SqlStmt);
MyClientDataSet->Open();

......

// Release Connection

This seems to work well. However,  Since MIDAS 3 allows to write Stateless
Applications, Then I thought that
What I have been doing is totally in correct amy may cause troubles.
Since,  after I clas MyRdmDisp.SetSql(..) MTS  should release my Object
Reference  whcih causes
MyClientDataSet->Open() statement to be directed toanother MTS Object...

Do I think correct. and shoul modify my MTS Components and ClientDataSets so
that
I Fetch Data using TClientDataSet's CommandText property.

Thanks
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads