Share via


Command Handlers for Record Scrolling

OverviewHow Do IFAQSampleODBC Driver List

Classes and provide default command handling for the following standard commands:

  • ID_RECORD_MOVE_FIRST

  • ID_RECORD_MOVE_LAST

  • ID_RECORD_MOVE_NEXT

  • ID_RECORD_MOVE_PREV

The OnMove member function of classes CRecordView and CDaoRecordView provides default command handling for all four commands, which move from record to record. As these commands are issued, RFX (or DFX) loads the new record into the recordset’s fields and DDX moves the values into the record form’s controls. For information about RFX, see the article Record Field Exchange (RFX). For information about DFX, see the article DAO Record Field Exchange (DFX).

Important   Be sure to use these standard command IDs for any user-interface objects associated with the standard record navigation commands.