First, thank you for any help you can offer. Running on CR v10 and SQL 2000. My cross tab offers the results of sales phone calls in my rows and my columns are broken down by half hour. For example:
9:30 10:00 10:30
completed 15 5 3
attempted 2 4 6
message 1 3 2
My users have certain 2 hour blocks during the day where they are required to only make calls. I want to conditionally highlight the column based on certain times per day.
My formula for the column by half hour is:
NumberVar MinExtract := Minute({history.completeddate});
TimeVar AMDMins;
DateTimeVar GPResult;
If MinExtract < 30 then AMDMins := Time(Hour({history.completeddate}),00,00) else
If MinExtract > 30 then AMDMins := Time(Hour({history.completeddate}),30,00);
AMDMins;
This works just fine. history.completeddate referenced above is datetime field in sql. An example of the field results from sql is 8/16/1999 8:43:55 AM
So, ultimately I hope to format the column based on (for example) this criteria.
history.username='smith, jim' and history.completeddate is between 9:30am and 11:30am
Again, thank you for any feedback you can offer.
mabis
9:30 10:00 10:30
completed 15 5 3
attempted 2 4 6
message 1 3 2
My users have certain 2 hour blocks during the day where they are required to only make calls. I want to conditionally highlight the column based on certain times per day.
My formula for the column by half hour is:
NumberVar MinExtract := Minute({history.completeddate});
TimeVar AMDMins;
DateTimeVar GPResult;
If MinExtract < 30 then AMDMins := Time(Hour({history.completeddate}),00,00) else
If MinExtract > 30 then AMDMins := Time(Hour({history.completeddate}),30,00);
AMDMins;
This works just fine. history.completeddate referenced above is datetime field in sql. An example of the field results from sql is 8/16/1999 8:43:55 AM
So, ultimately I hope to format the column based on (for example) this criteria.
history.username='smith, jim' and history.completeddate is between 9:30am and 11:30am
Again, thank you for any feedback you can offer.
mabis