Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Live Bindings and TListView



Permlink Replies: 1 - Last Post: Feb 5, 2015 5:56 AM Last Post By: Eduardo Elias
Scott van der L...

Posts: 67
Registered: 5/11/02
Live Bindings and TListView
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2015 5:10 AM
I have a problem where the TListView that is bound to a query (through a TBindSourceDB) doesn't show new rows added externally when the query is refreshed. Presumably external changes are also not updated.

How can I force the TListView/TBindSourceDB data to be refreshed when the query is?
Eduardo Elias

Posts: 319
Registered: 9/20/12
Re: Live Bindings and TListView
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 5, 2015 5:56 AM   in response to: Scott van der L... in response to: Scott van der L...
For my case I have a TDataset connected to the Bindsource, and I do that
closing and opening back again. In this case the TListView is refreshed.

You are right about the TListView, it is a nice control however it is not
very data aware, it reads everything at first time and get stuck with that.

I have a problem where the TListView that is bound to a query (through
a TBindSourceDB) doesn't show new rows added externally when the query
is refreshed. Presumably external changes are also not updated.

How can I force the TListView/TBindSourceDB data to be refreshed when
the query is?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02