Dineedshelp
Technical User
Stuck at present and want to go home!!!
I have create a query which pulls out specific records that I want (wahey, got that bit right!!!). The next step to this is to somehow group the records based on todays date. For example, todays date is the 4 feb, i want to see the records that were input for the last 14 days together, then 15 to 30 days and then anything greater than 30.(To get the number of days I've used a datediff based on the input date and todays date).
Is there a way of doing this? I've tried a cross-tab query, but that does it by month and not specific dates.
Please help or i may be forced to go sledging!!!
Thanks
I have create a query which pulls out specific records that I want (wahey, got that bit right!!!). The next step to this is to somehow group the records based on todays date. For example, todays date is the 4 feb, i want to see the records that were input for the last 14 days together, then 15 to 30 days and then anything greater than 30.(To get the number of days I've used a datediff based on the input date and todays date).
Is there a way of doing this? I've tried a cross-tab query, but that does it by month and not specific dates.
Please help or i may be forced to go sledging!!!
Thanks