C
crownofbees
Hello,
I'm working on a report based on a crosstab query. The idea is to
display totals across fields by hour, so for the crosstab row heading,
I'm using the expression DatePart("h",[Time]). This is working
perfectly, except for one thing: the DatePart function seems to extract
the hour as an integer, so the hour column in the report is displaying
an integer (e.g. "13") when I would like it to be displaying the hour
in 12-hour AM/PM format (e.g. "1 PM" instead of "13"). Does anyone know
how I can perform this kind of formatting conversion?
Thanks for any assistance,
Erik.
I'm working on a report based on a crosstab query. The idea is to
display totals across fields by hour, so for the crosstab row heading,
I'm using the expression DatePart("h",[Time]). This is working
perfectly, except for one thing: the DatePart function seems to extract
the hour as an integer, so the hour column in the report is displaying
an integer (e.g. "13") when I would like it to be displaying the hour
in 12-hour AM/PM format (e.g. "1 PM" instead of "13"). Does anyone know
how I can perform this kind of formatting conversion?
Thanks for any assistance,
Erik.