Hi.
I have a Class named Echo. That contains a private attribute Data, which
is a dataset that contains a single table (T_Echo) that can have
multiple records. I then have public properties, one for each field that
they are allowed to access, from which callers can access the underling
data. I have then create a windows form with several text controls and
bound these to the Echo Class. All work well at first.
However, because the table contains multiple records, I have to give the
user the ability to scroll through these. At first I thought of using
the binding context but as the binding occurs to properties of the class
this did not work. So I added a CurrentRecordID to the class that the
caller can change to access different records. This seems ok but when
the user increments the count (moves to the next record) the data in the
controls does not get refreshed. If I change tabs and then return to the
Echo tab bingo we have the correct data?
Does anybody know of a way to force controls to update their data
bindings? Or am I going about this the wrong way and should be able to
use the Binding context to navigate the records?
Thanks
Darran
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!