*-- imNeg is the parent of imPrint, in a 1:M relationship public vFPtr *-- open form with reference pointer, move to form's DS do form forms\imnegfrm name vFPtr linked set datasession to vFPtr.datasessionid * -- now let the report use the form's data environment select imNeg set skip to imPrint && allow multiple children in report report form reports\imrel_r1 preview set skip to && preserve normal behavior in form *-- control returns to formThis works correctly when the full report is printed. But if I try to print only one record, using:
report form reports\imrel_r1 next 1 previewonly the first child record is displayed. My guess is that the problem is caused by the fact that the record pointer hasn't moved since SKIP was reset. But my experiments to correct the problem haven't been successful. Does anyone have suggestions?