ACC: When to Use Requery, Repaint, or Records Refresh

ID: Q96104


The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0, 7.0, 97


SUMMARY

Novice: Requires knowledge of the user interface on single-user computers.

Although the Requery, Repaint, and Records Refresh items are different, you can use each of them to ensure that what you see on the screen is updated.


MORE INFORMATION

Requery

The Requery macro action updates controls, such as list boxes and combo boxes. It works for the form on which those controls exist only if you don't include arguments.

Repaint

Repaint is not related to data; it merely redraws the object or control. If there is data that has been updated in the underlying dynaset but is not reflected on the form, you cannot use Repaint.

Records Refresh

Records Refresh requeries the form itself, as opposed to any control on the form.

Keywords : kbusage FmsRqry
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: March 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.