Thread View: borland.public.delphi.database.ado-net
2 messages
2 total messages
Started by sandokan
Fri, 07 Jul 2006 22:33
TListConnector filter method
Author: sandokan
Date: Fri, 07 Jul 2006 22:33
Date: Fri, 07 Jul 2006 22:33
30 lines
1507 bytes
1507 bytes
Hi everybody,
I'm trying to filter a TListConnector but it doesn't seem to do
nothing. Code:
ListConnector.Filter:= 'type_id=2';
ListConnector.Filtered:= true;
The ListConnector is filled from a web service I've created:
procedure GetData(ListConnector: TListConnector; const Table:
string); overload;
var
ws : TWebService;
ds : DataSet;
begin
try
ds := DataSet.Create;
ws := CreaWebService;
ds := ws.GetData(Table);
ListConnector.Active:= false;
ListConnector.DataObject := ds.Tables[Table].DefaultView;
ListConnector.Active:= true;
ds := nil;
except
ListConnector.Active:= false;
Raise;
end;
end;
Any idea?
Re: TListConnector filter method
Author: Bill Todd
Date: Fri, 07 Jul 2006 22:48
Date: Fri, 07 Jul 2006 22:48
8 lines
1180 bytes
1180 bytes
Please do not multipost or cross post your messages. It violates Borland's guidelines for using their newsgroups and wastes everyone's time. Please post one message in the most appropriate newsgroup and please take a moment to read the newsgroup guidelines at http://info.borland.com/newsgroups/guide.html -- Bill Todd (TeamB)
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