Thread View: borland.public.delphi.database.win32
5 messages
5 total messages
Started by dpap
Wed, 05 Mar 2008 09:44
One TTable multiple cursors
Author: dpap
Date: Wed, 05 Mar 2008 09:44
Date: Wed, 05 Mar 2008 09:44
8 lines
1349 bytes
1349 bytes
Hi, I want to open a Paradox Table with a TTable/TDatasource pair but I want to show some records (filtered or ranged) on one TDBstringGrid and other (different filter/range) on other TDBstringGrid at the same time. I also want these TDBstringGrids to scroll independently How can I do this ? thanks in advance
Re: One TTable multiple cursors
Author: Bill Todd [TeamB]
Date: Wed, 05 Mar 2008 13:12
Date: Wed, 05 Mar 2008 13:12
9 lines
1084 bytes
1084 bytes
dpap wrote: > How can I do this ? By using two TTables. One TTable = one cursor. There is no TDBStringGrid. I assume you mean TDBGrid. -- Bill Todd (TeamB)
Re: One TTable multiple cursors
Author: Bill Todd [TeamB]
Date: Wed, 05 Mar 2008 16:45
Date: Wed, 05 Mar 2008 16:45
10 lines
1246 bytes
1246 bytes
dpap wrote: > but I want something to avoid duplicating the fields using two tables You do not duplicate the fields. You use two TTables that both open the same database table and access the same fields in the database table. You are just opening two cursors on the same table and fields. -- Bill Todd (TeamB)
Re: One TTable multiple cursors
Author: dpap
Date: Wed, 05 Mar 2008 17:07
Date: Wed, 05 Mar 2008 17:07
4 lines
1296 bytes
1296 bytes
thanks Bill, this approach I use but I want something to avoid duplicating the fields using two tables, but now I realize that isn't possible to apply two concurrent filters to the same table or use the same fields.
Re: One TTable multiple cursors
Author: Rich Werning
Date: Tue, 11 Mar 2008 17:41
Date: Tue, 11 Mar 2008 17:41
13 lines
1451 bytes
1451 bytes
You could always use a TClientDataset instead of a TTable, and then use a CloneCursor to have 2 different CDS's pointing to the same data in memory. -- Rich Werning TIP Technologies, Inc. "dpap" <dpap@softwaypro.gr> wrote in message news:47ced37a@newsgroups.borland.com... > thanks Bill, > this approach I use but I want something to avoid duplicating the fields > using two tables, but now I realize that isn't possible to apply two > concurrent filters to the same table or use the same fields.
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