Share via


Command Handlers for Record Scrolling

Classes CRecordView and CDaoRecordView 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 Record Field Exchange (RFX).

Note

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

See Also

Concepts

Supporting Navigation in a Record View