First, you need to define what customers you want to include, since you probably don't want to include customers who haven't ordered for many years. Let's say you want to include any customer who has ordered since January 1, 2003, but who hasn't placed an order in the last six months.
Use a record selection formula like:
{table.date} >= date(2003, 01, 31)
Insert a group on {table.customerID}.
Then go to report->edit selection formula->GROUP and enter:
maximum({table.date},{table.customerID}) < dateadd("m",
-6,currentdate)
You would then need to use running totals for calculations, since non-group selected records will still contribute to the more usual summaries.
-LB