Hi,
I have a ListBox that lists all the rows in a database table, and
several EditFields that display information for the current record
and can be used to add a new record. Adding a new record works fine,
and the ListBox updates, but the EditFields don't update their
information when I click on a row in the ListBox. Here's the code I
have in the ListBox's Change event:
if me.listIndex>-1 then
pdata.moveto me.listindex
end
pdata is a DataControl, and the EditFields are bound to it. I've
tried several things, even pdata.moveFirst, which doesn't work
either! What am I missing? Thanks,
Ben Farhner
farhnware
http://farhnware.homelinux.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>