Re: Power Objects: refreshing an unbound list box
Date: 1995/10/07
Message-ID: <713682335wnr_at_lucasp.demon.co.uk>#1/1
In article: <44g39t$dcv_at_wabbit.cc.uow.edu.au> Phil Herring <revdoc_at_uow.edu.au> writes:
>
> Situation: a form with an unbound list box. The translation property of
> the box is a SQL statement that retrieves rows from a table, with an
> ORDER BY clause. Committing the form changes the table on which the
> list is based.
>
> Therefore, after a commit, I want to refresh the list box. The
> documentation says to call UpdateList() for the object, but that
> doesn't re-read values from the database.
>
Try :
listboxn.Translation = listboxn.Translation
It works for me.
> So how do I do this?
>
>
> ----------------------------------------------------------------------
> Phil Herring revdoc_at_uow.edu.au
> (c)1995 Phil Herring. This article may not be reproduced for profit.
> ----------------------------------------------------------------------
>
>
Regards,
Paul Lucas
-- "In this world you must be oh so smart, or oh so pleasant. For years I was smart - I recommend pleasant." Elwood P. Dowd - Harvey Internet : Paul_at_lucasp.demon.co.uk | Compuserve : 100105,2263Received on Sat Oct 07 1995 - 00:00:00 CET