TrentSteel
MIS
Hello All
I have had no problems converting a Unix time stamp to DateTime for grouping and display in reports.(thanks to this forum, really, rather than my own reporting prowess) Now, I have begun playing with an automated report generator and exporter. Unfortunatley, I have no idea how to set the Selection criteria dynamically so it takes the last full work day of records every time the report is run.
eg.
I am setting the report up to run for the first time at 6am EST on Sept 9th. How would I get it to report on these parameters in Unix format within the selection formula:
Tues. 9th report - 09/08/03 00:00:01 to 09/08/03 23:59:59
Wed. 10th report - 09/09/09 00:00:01 to 09/09/03 23:59:59
etc.
Also, how would I account for weekends, b/c on Monday morning, I would like to be pulling Friday's data. Any ideas would be greatly appreciated
TIA
I have had no problems converting a Unix time stamp to DateTime for grouping and display in reports.(thanks to this forum, really, rather than my own reporting prowess) Now, I have begun playing with an automated report generator and exporter. Unfortunatley, I have no idea how to set the Selection criteria dynamically so it takes the last full work day of records every time the report is run.
eg.
I am setting the report up to run for the first time at 6am EST on Sept 9th. How would I get it to report on these parameters in Unix format within the selection formula:
Tues. 9th report - 09/08/03 00:00:01 to 09/08/03 23:59:59
Wed. 10th report - 09/09/09 00:00:01 to 09/09/03 23:59:59
etc.
Also, how would I account for weekends, b/c on Monday morning, I would like to be pulling Friday's data. Any ideas would be greatly appreciated
TIA