Master detail example

Hello Adrian,

I was getting acquanted with the Flexcel report examples and I was playing with the master detail ones.

The first example shows how to make a report customer/orders showing all customers in the same Excel sheet one after the other.
What if I decide to have one Excel file per customer ? Do I have to apply a "while not eof" loop to the master dataset in order to create one Excel file per customer or there is a better way ?

Many thanks
Alberto

Yes, if you need different files you need to run a report for each customer, looping in the dataset, and save each one with a different filename. FlexCel does offer the ability to put each customer in a different sheet (look at the demo after that), but for different files you need to run the report once for each file.