Using Crystal 9 with a csv file.
Example of records in csv file (I don't know if this matters but for the report, I want a week to begin on Monday instead of Sunday):
Week Number for Start Date PROBLEM:
class day start date end date week_number
test 101-001 Mon 01/13/2010 04/28/2010 2
test 101-001 Mon 01/13/2010 04/28/2010 3
test 101-001 Mon 01/13/2010 04/28/2010 4
test 101-001 Mon 01/13/2010 04/28/2010 5
test 101-001 Mon 01/13/2010 04/28/2010 6 etc. until week 17 since it has an ending date of 04/28/2010
I need to get rid of week 2 because the class is held on Mon and the START date in the csv file is Wed, 01/13/2010 but the class really STARTS in week 3 on 01/18/2010.
Week Number for End Date PROBLEM:
test_201-020 Sat 01/11/2010 04/28/2010 2
test_201-020 Sat 01/11/2010 04/28/2010 3
test_201-020 Sat 01/11/2010 04/28/2010 4
test_201-020 Sat 01/11/2010 04/28/2010 5
test_201-020 Sat 01/11/2010 04/28/2010 6 etc. until week 17 since it has an ending date of 04/28/2010
I need to get rid of week 17 because the class is held on Sat and the END date in the csv file is Wed, 04/28/2010 but the class really ENDS in week 16 on 04/24/2010.
Help is very appreciated.
Example of records in csv file (I don't know if this matters but for the report, I want a week to begin on Monday instead of Sunday):
Week Number for Start Date PROBLEM:
class day start date end date week_number
test 101-001 Mon 01/13/2010 04/28/2010 2
test 101-001 Mon 01/13/2010 04/28/2010 3
test 101-001 Mon 01/13/2010 04/28/2010 4
test 101-001 Mon 01/13/2010 04/28/2010 5
test 101-001 Mon 01/13/2010 04/28/2010 6 etc. until week 17 since it has an ending date of 04/28/2010
I need to get rid of week 2 because the class is held on Mon and the START date in the csv file is Wed, 01/13/2010 but the class really STARTS in week 3 on 01/18/2010.
Week Number for End Date PROBLEM:
test_201-020 Sat 01/11/2010 04/28/2010 2
test_201-020 Sat 01/11/2010 04/28/2010 3
test_201-020 Sat 01/11/2010 04/28/2010 4
test_201-020 Sat 01/11/2010 04/28/2010 5
test_201-020 Sat 01/11/2010 04/28/2010 6 etc. until week 17 since it has an ending date of 04/28/2010
I need to get rid of week 17 because the class is held on Sat and the END date in the csv file is Wed, 04/28/2010 but the class really ENDS in week 16 on 04/24/2010.
Help is very appreciated.