how to get detail query to follow master query ?

i have 2 queries on the TReport.

i want to make the records on the detail query follow the records on the
master query.

should i set the SQL.Add or do i set the settings on the TReport ?

Thanks