In a report, you can prompt for retrieval criteria, retrieve rows as needed, and save retrieved rows to disk.