Hi
Using Crystal XI on SQLServer 2000
I have a table of orders with the fields org_name and order_date.
I want to identify the organisations that have had an order in a date range based on a parameter date field but who have not had an order in the 12 months prior to the latest date found in the parameter date range.
For example:-
Org Name Order Dates Parameter Value
org 1 23/03/05 01/10/06-31/12/06 False
14/07/06
31/10/06
org 2 23/03/05 01/10/06-31/12/06 True
31/10/06
Can anyone help?
Many thanks
puma
Using Crystal XI on SQLServer 2000
I have a table of orders with the fields org_name and order_date.
I want to identify the organisations that have had an order in a date range based on a parameter date field but who have not had an order in the 12 months prior to the latest date found in the parameter date range.
For example:-
Org Name Order Dates Parameter Value
org 1 23/03/05 01/10/06-31/12/06 False
14/07/06
31/10/06
org 2 23/03/05 01/10/06-31/12/06 True
31/10/06
Can anyone help?
Many thanks
puma