RTC Forums
November 24, 2024, 12:35:17 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
TRtcMemDataset problems
Pages: [
1
]
« previous
next »
Print
Author
Topic: TRtcMemDataset problems (Read 5105 times)
Max Terentiev
RTC License
Posts: 49
TRtcMemDataset problems
«
on:
September 13, 2016, 04:04:07 PM »
Hi,
I notice some problems with TRtcMemDataSet:
1. First() method not working (not move table cursor to first record)
2. DevExpress's DBTreeList.SyncMode not working with TRtcMemDataSet (changing node in TreeList not change cursor position in TRtcMemDataSet). But it's working with any other DataSets including TRtcClientDataset.
I fill data to TRtcMemDataSet (GroupsTbl) this way:
void __fastcall TListManagerFrm::GetGroupsReturn(TRtcConnection *Sender, TRtcValue *Data,
TRtcValue *Result)
{
if(Result->isType==rtc_DataSet)
{
ClientDM->GroupsTbl->Close();
ClientDM->GroupsTbl->asObject=Result->asDataSet;
Result->Extract();
ClientDM->GroupsTbl->Open();
}
}
//---------------------------------------------------------------------------
Received data showed in DB controls with no problems.
But if I call GroupsTbl->First() - it's not move table cursor to first record, it's just does nothing.
Logged
Max Terentiev
RTC License
Posts: 49
Re: TRtcMemDataset problems
«
Reply #1 on:
September 13, 2016, 04:33:12 PM »
Update: problem happens only if TRtcMemDataSet used with DevExpress TcxDBTreeList. With TDBGrid all works fine including First() method.
But it's probably bug anyway because TcxDBTreeList works fine with any another DataSets including TRtcClientDataset !
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: TRtcMemDataset problems
«
Reply #2 on:
September 13, 2016, 06:43:41 PM »
TRtcMemDataSet component is
outdated
and kept ONLY for legacy reasons (OLD Projects which have to be compile with FreePascal). If you are using Delphi to compile your Projects, please switch to the
TRtcClientDataSet
component, which extends the TClientDataSet component from Delphi with a TRtcDataSetMonitor component from RTC.
Best Regards,
Danijel Tkalcec
Logged
Max Terentiev
RTC License
Posts: 49
Re: TRtcMemDataset problems
«
Reply #3 on:
September 14, 2016, 10:53:38 AM »
Understand, thanks.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...