Re: Substituting Data on Reports
- From: Duane Hookom <duanehookom@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Oct 2008 12:40:00 -0700
I think I would create a totals query that groups by whatever field is in
your header/footer and finds the highest priority (or whatever). Then add
this totals query to your report's record source so the appropriate value
would be available.
Again, I would create a table that ranks the priorities so you can use data
to model this. If you can't create/use a table, I would create a small
user-defined function that accepts values like New and Signed and returns the
appropriate priority.
--
Duane Hookom
Microsoft Access MVP
"JoeD via AccessMonster.com" wrote:
Sorry about that. The highest value (in this case "Signed", if found in the.
raw data) needs to be displayed in the header and footer; the rest of the
data, in the body of the report. I don't believe filtering would do since I
need all records displayed in the body of the report. I tried using an
expression in a query and met with limited sucess using the IIF command. The
only issue I need working now is to have the selected data displayed in two
locations (header and footer) in the report. It displays correctly in the
footer, but not on the header. I have tried using a non-visible field to
append from for the header and footer, unsuccessfully. I have also tried
filling the field straight from the field list.
Duane Hookom wrote:
Again:
I am also confused regarding just showing one value. Do you want to filter
out some records? Perhaps you could provide some sample records...
No, there is nothing in the table that will aid determining priorities. I[quoted text clipped - 15 lines]
was thinking if I can program some code to assign "Signed" and "New" a
"New" and "Signed" is the highest priority showing in the query, I need to
find a way to show that in a text box. Any ideas?
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200810/1
- References:
- Substituting Data on Reports
- From: JoeD via AccessMonster.com
- Re: Substituting Data on Reports
- From: Klatuu
- Re: Substituting Data on Reports
- From: JoeD via AccessMonster.com
- Re: Substituting Data on Reports
- From: Duane Hookom
- Re: Substituting Data on Reports
- From: JoeD via AccessMonster.com
- Re: Substituting Data on Reports
- From: Duane Hookom
- Re: Substituting Data on Reports
- From: JoeD via AccessMonster.com
- Substituting Data on Reports
- Prev by Date: RE: Inclusion and Exclusion
- Next by Date: RE: Counting
- Previous by thread: Re: Substituting Data on Reports
- Next by thread: RE: Substituting Data on Reports
- Index(es):
Relevant Pages
|