Am 25.02.2006 um 23:29 schrieb Ben Farhner:

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,

If I remember correctly, not all DBs support MoveTo... Some
only support sequential forward scrolling through your cursor.

Might this be the problem?
_______________________________________________
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>

Reply via email to