Hi Walter,

> I have a list box that is based on a table that has two fields (an ID 
> field and a name field for the entry).
> ...
> BUT... either way I go, I can't seem to get the list box to actually 
> update! I can use the Refresh button on the Form Navigation toolbar to 
> Refresh or Rebuild. I can close the form or the data source window and 
> save the record. But I still have to close the form and reopen.

Sounds like a bug, a list box is expected to refresh with the form being
reloaded. (There's also an RFE requesting a more explicit refresh
option, which would not affect the whole form, but only the control.)
Do you mind submitting an issue with a sample document?

Other than that, I fear there is no other possibility except re-opening
the form :(
Hmm, perhaps you could try sending an artificial "reloaded" event to the
list box: create an css.lang.EventObject whose "Source" is the form, and
call the boxes "reloadin", following by "reloaded". Not sure if this works.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to