K
Ken M via AccessMonster.com
I have a report of an audit trail of logins. The Query does not sort but the
records are in TIMESTAMP order.
Display fields:
[TIMESTAMP] in mm/dd/yyyy hh:nn:ss AM/PM (Default format no Format command
necessary)
[USERID]
[DOW] reformated from [TIMESTAMP] - Format([TIMESTAMP],"ddd")
[TimeRange]: Select Criteria: Format([TIMESTAMP],"Short Date")
I generate a report based on this Query. If I only have the report Page
Header and Detail with the Detail containg the [DOW] [TIMESTAMP] [USERID]
fields all records sort in Ascending order starting from 12:00 AM. However as
soon as I create a grouping TIMESTAMP - Ascending and add a Group Header that
Groups on Hour with a Group Interval of 1, the Detail Sort no longer sorts
correctly within each hourly grouping. (Grouping on Each Value does not
affect the Detail Sort)
I have tried working with the Query, the Group On (Hour,Day, Week), and Group
Interval with no luck.
Any suggestions would be helpfull.
records are in TIMESTAMP order.
Display fields:
[TIMESTAMP] in mm/dd/yyyy hh:nn:ss AM/PM (Default format no Format command
necessary)
[USERID]
[DOW] reformated from [TIMESTAMP] - Format([TIMESTAMP],"ddd")
[TimeRange]: Select Criteria: Format([TIMESTAMP],"Short Date")
I generate a report based on this Query. If I only have the report Page
Header and Detail with the Detail containg the [DOW] [TIMESTAMP] [USERID]
fields all records sort in Ascending order starting from 12:00 AM. However as
soon as I create a grouping TIMESTAMP - Ascending and add a Group Header that
Groups on Hour with a Group Interval of 1, the Detail Sort no longer sorts
correctly within each hourly grouping. (Grouping on Each Value does not
affect the Detail Sort)
I have tried working with the Query, the Group On (Hour,Day, Week), and Group
Interval with no luck.
Any suggestions would be helpfull.