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 dilemma



 
 
Thread Tools Display Modes
  #1  
Old August 12th, 2009, 07:42 PM posted to microsoft.public.access.reports
JohnE
external usenet poster
 
Posts: 75
Default sorting dilemma

I have a report that displays items. Some of these items are ranked by a
priority number. Some are not. In sorting in asc order, those with no
priority number go to the top of the list then the ranked ones follow. I
need to reverse that and place the ranked ones at the top of the list (in
order) followed by the non priority one.

How can that be done in an A2007 report?

Thanks. John
  #2  
Old August 12th, 2009, 09:48 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default sorting dilemma

Use an expression in the Sorting and Grouping rather than the field name.
Perhaps something like:
=Nz([Priority Number Field],99999)

--
Duane Hookom
Microsoft Access MVP


"JohnE" wrote:

I have a report that displays items. Some of these items are ranked by a
priority number. Some are not. In sorting in asc order, those with no
priority number go to the top of the list then the ranked ones follow. I
need to reverse that and place the ranked ones at the top of the list (in
order) followed by the non priority one.

How can that be done in an A2007 report?

Thanks. John

  #3  
Old August 12th, 2009, 09:54 PM posted to microsoft.public.access.reports
JohnE
external usenet poster
 
Posts: 75
Default sorting dilemma

Bingo. That did it.
Thanks.


"Duane Hookom" wrote:

Use an expression in the Sorting and Grouping rather than the field name.
Perhaps something like:
=Nz([Priority Number Field],99999)

--
Duane Hookom
Microsoft Access MVP


"JohnE" wrote:

I have a report that displays items. Some of these items are ranked by a
priority number. Some are not. In sorting in asc order, those with no
priority number go to the top of the list then the ranked ones follow. I
need to reverse that and place the ranked ones at the top of the list (in
order) followed by the non priority one.

How can that be done in an A2007 report?

Thanks. John

  #4  
Old August 12th, 2009, 10:02 PM posted to microsoft.public.access.reports
JohnE
external usenet poster
 
Posts: 75
Default sorting dilemma

Mr Hookum, could I inquire with you another report issue that could be a
minor thing. On a report I have a series of subreports. Some of the srpts
have info and some do not. When the report is printed out, the srpt control
is not there when no data available so I would like to have a label under the
person's name say something about not data. Label, even positioned behind
the control still shows thru.

Any suggestions?

Thanks...John


"Duane Hookom" wrote:

Use an expression in the Sorting and Grouping rather than the field name.
Perhaps something like:
=Nz([Priority Number Field],99999)

--
Duane Hookom
Microsoft Access MVP


"JohnE" wrote:

I have a report that displays items. Some of these items are ranked by a
priority number. Some are not. In sorting in asc order, those with no
priority number go to the top of the list then the ranked ones follow. I
need to reverse that and place the ranked ones at the top of the list (in
order) followed by the non priority one.

How can that be done in an A2007 report?

Thanks. John

  #5  
Old August 13th, 2009, 05:25 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default sorting dilemma

You can use a text box with a control source like:
=IIf(subrptControlname.Report.HasData, Null,"This person does not exist to
me;-)")

--
Duane Hookom
Microsoft Access MVP


"JohnE" wrote:

Mr Hookum, could I inquire with you another report issue that could be a
minor thing. On a report I have a series of subreports. Some of the srpts
have info and some do not. When the report is printed out, the srpt control
is not there when no data available so I would like to have a label under the
person's name say something about not data. Label, even positioned behind
the control still shows thru.

Any suggestions?

Thanks...John


"Duane Hookom" wrote:

Use an expression in the Sorting and Grouping rather than the field name.
Perhaps something like:
=Nz([Priority Number Field],99999)

--
Duane Hookom
Microsoft Access MVP


"JohnE" wrote:

I have a report that displays items. Some of these items are ranked by a
priority number. Some are not. In sorting in asc order, those with no
priority number go to the top of the list then the ranked ones follow. I
need to reverse that and place the ranked ones at the top of the list (in
order) followed by the non priority one.

How can that be done in an A2007 report?

Thanks. John

 




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 01:20 PM.


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