A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sorting Dates



 
 
Thread Tools Display Modes
  #1  
Old July 31st, 2009, 11:27 PM posted to microsoft.public.access.reports
iamnu
external usenet poster
 
Posts: 99
Default Sorting Dates

In the Sorting and Grouping area, I have a Field/Expression called
SortKey1. I am populating SortKey1 with a date, depending on certain
parameters.

In the Group Properties for SortKey1, "Group On" only has "Each
Value", and "Prefix Characters".

How do I get the Group Properties for SortKey1 to allow for the
selection of "Year, Qtr, Month, Week, Day, Hour, Min" as if SortKey1
was a normal date field?

  #2  
Old August 1st, 2009, 12:25 AM posted to microsoft.public.access.reports
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Sorting Dates

I am populating SortKey1 with a date, depending on certain parameters.
You did not give examples of what data the field will contain.

to allow for the selection of "Year, Qtr, Month, Week, Day, Hour, Min" as if SortKey1 was a normal date field?

If Access can not decipher the data as a date then it cannot offer those
options.

Why not use two Sortkey fields, one with date or null data and the other
with the other type?

--
Build a little, test a little.


"iamnu" wrote:

In the Sorting and Grouping area, I have a Field/Expression called
SortKey1. I am populating SortKey1 with a date, depending on certain
parameters.

In the Group Properties for SortKey1, "Group On" only has "Each
Value", and "Prefix Characters".

How do I get the Group Properties for SortKey1 to allow for the
selection of "Year, Qtr, Month, Week, Day, Hour, Min" as if SortKey1
was a normal date field?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.