How to Page Through a Format File That Contains a READ

Last reviewed: June 27, 1995
Article ID: Q95244
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 1.02, 2.0 and 2.5
  • Microsoft FoxPro for Windows, version 2.5
  • Microsoft FoxBASE+ for MS-DOS, version 2.1

SUMMARY

To skip forward and backward through each record of a database that is using a format file, press the PAGE UP and PAGE DOWN keys.

MORE INFORMATION

Pressing the PAGE UP and PAGE DOWN keys skips one record at a time, forward or backward, in the database and also refreshes the GETs on the screen.

Objects can be placed on different pages or different screens by placing a READ command in the format file. The READ command should be placed after the last GET that would appear on each screen. The following format file example places two objects on the first screen and two more on the second screen. To display the objects that are on the next screen, press the PAGE UP or PAGE DOWN key.

      @5,1 GET <var1>
      @6,1 GET <var2>
      READ
      @5,1 GET <var3>
      @6,1 GET <var4>


Additional reference words: FoxDos FoxWin 2.00 2.50 2.x 2.10
KBCategory: kbprg
KBSubcategory: FxprgGeneral


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.