master/ detail - Midas -TADOquery

I would like a example of a Delphi 6 master/ detail  and Midas using  On
RDM  TADOquery .

Thanks,

Sidney