missed functionality from TTable

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Lepsik
Posts: 12
Joined: Mon 27 Feb 2012 17:45
Contact:

missed functionality from TTable

Post by Lepsik » Fri 09 Mar 2012 20:07

How to replace: ?

AddIndex
SetRange
CancelRange
EditRangeStart

search on forum and Help does not provide such information

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 13 Mar 2012 10:50

Hello,

UniDAC doesn't support such functionality . Instead of the AddIndex method you can call explicitly the SQL query for creating an index.

UniConnection1.ExecSQL('CREATE INDEX ......',[]);

Instead of the SetRange, CancelRange, EditRangeStart methods, you can use the TCustomDADataSet.Filter property for local filtration on the client, and the TCustomDADataSet.FilterSQL property - for filtration on the server.

Post Reply