Accessing Secondary Component Buffer Data
When a secondary page is run, the data for its buffers is copied from the parent component to a buffer structure for the secondary page. That is, two copies of this data are made. The data buffer classes give access to both of these copies of the data. Direct field references (recname.fieldname) always use the current context to determine which value to access. So, in general, when using a secondary page, make sure that references are based on the secondary page.