qreport

i use a qreport in my programm, but i have one problem.
If i had selected some datasets (they are shown in a dbgrid field), i start
a print preview. Now my problem is, that there is only show the last dataset
i had selected. What can i do? I selected the datasets with an sql
statement.