Microsoft KB Archive/136639

{| = DOCERR: Control1.scx Uses m.saverecno Instead of m.toprec =
 * width="100%"|

ID: Q136639

2.60a MACINTOSH kbref kbdocerr

The information in this article applies to:


 * Microsoft FoxPro for Macintosh, version 2.6a

SUMMARY
On Page 52 of the Developer's Guide, a VALID code sample is given for Control1.scx, which contains several buttons. After the GO TOP command, m.saverecno is set equal to RECNO. Actually, m.toprec should be set equal to RECNO.

MORE INFORMATION
Control1.scx uses navigation buttons to assist the user in moving through the records of a database. At the beginning of the code, the current record number is saved in the m.saverecno memory variable. When the GO TOP command is issued, the first record number should be saved in m.toprec. The example code on disk is correct, but the Developer's Guide uses m.saverecno instead of m.toprec.

Additional reference words: 2.60a FoxMac KBCategory: kbref kbdocerr KBSubcategory: FxotherDochelp

Keywords         : FxotherDochelp Version          : 2.60a Platform         : MACINTOSH
 * }