Refresh/Requery/AhowAllRecords

N

Nigel Lawton

When I add records to a recordset using code .addnew & .update I find that an
immediate requery does not always show the new record in the form I use to
display the data. The form is linked to a query which orders the records
but does not restrict the selection. A delay with DoEvents sometimes works
but not always. How can I reliably get the new record to be displayed without
the need for a manual 'remove filter/sort'. I tried putting in Requery,
ShowAllRecords and refresh but these do not fix the problem. Sometimes two
manual remove filter/dort commands are needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top