Joe: Listbox and Combobox controls have a Requery() method to refresh the data in the control from the underlying source.
On Tue, Aug 23, 2016 at 11:02 AM, Joe Yoder <[email protected]> wrote: > Yes Laurie - both forms are modal. > > Alan - your suggestion that there may be a timing issue has prompted my > addition of another test button on the form with the listbox. The button > code consists of: > thisform.list1.click > thisform.list1.Refresh > thisform.refresh > > When I add a record it does not show on the screen. I can drag the scroll > bar up and down - still no record. I can click the test button - no > effect. I can click the up arrow on the scroll bar - no effect. When I > click the down arrow on the scroll bar or any data area in the listbox the > record shows up. > > On Tue, Aug 23, 2016 at 10:22 AM, Laurie Alvey <[email protected]> wrote: > >> Is the PMDetail form modal? >> >> Laurie >> >> On 23 August 2016 at 15:11, Alan Bourke <[email protected]> wrote: >> >> > If it's bound directly to the table a simple Refresh() should do it. >> > However when you show the form I think it will just show it and then the >> > next lines in your button click will run, i.e. it won't wait for your >> > PMDetail form to close. >> > >> > >> > >> > -- >> > Alan Bourke >> > alanpbourke (at) fastmail (dot) fm >> > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cacw6n4spjj+btmrvsukfrbs5krqtycjzmnfr_kwnb5dqyxf...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

