This topic explains how you might commonly customize the default code for record views that the wizard writes for you. Typically, you want to constrain the record selection with a filter or parameters, perhaps sort the records, customize the SQL statement.
This information applies to both
Using CRecordView or CDaoRecordView is much the same as using
Dhtml editor
Free javascript download