CR10, ODBC[RDO] connection, Informix database
Can anybody tell me how to report a date from the database that has no data? Meaning, the office is only open from Monday thru Friday so only data is collected on these days. I am trying to display on the report "Report for: August 1, 2004 To August 31, 2004", but of course August 1st is on a Sunday. I have been using the formula dateserial(year({cr_del_rpt.e_date}),month({cr_del_rpt.e_date}),1) for the first day of the month which starts on a Sunday, and dateserial(year({cr_del_rpt.e_date}),month({cr_del_rpt.e_date})+1,1-1) for the last day of the month. But when I select the program to run for only one day,(i.e. only for the day of August 10th) it will not show that day only. The key is that I cannot use a parameter. The date has to come down from the data because the users select the dates for the program via .net. This is an EMERGENCY! Please can anybody help?
Can anybody tell me how to report a date from the database that has no data? Meaning, the office is only open from Monday thru Friday so only data is collected on these days. I am trying to display on the report "Report for: August 1, 2004 To August 31, 2004", but of course August 1st is on a Sunday. I have been using the formula dateserial(year({cr_del_rpt.e_date}),month({cr_del_rpt.e_date}),1) for the first day of the month which starts on a Sunday, and dateserial(year({cr_del_rpt.e_date}),month({cr_del_rpt.e_date})+1,1-1) for the last day of the month. But when I select the program to run for only one day,(i.e. only for the day of August 10th) it will not show that day only. The key is that I cannot use a parameter. The date has to come down from the data because the users select the dates for the program via .net. This is an EMERGENCY! Please can anybody help?