bold item in sub report

Q

Question Boy

I have a report with a sub report which list dates for a given item.
Basically the user can enter a multide of dates for the item and they get
listed in the sub report. I am needing to make the date appear in bold if
the date is in the next 7 day windows and this only for the greatest date in
the sub report.

Can this be done and how?

Thank you,

QB
 
T

Tom Lake

Question Boy said:
I have a report with a sub report which list dates for a given item.
Basically the user can enter a multide of dates for the item and they get
listed in the sub report. I am needing to make the date appear in bold if
the date is in the next 7 day windows and this only for the greatest date in
the sub report.

Can this be done and how?

Thank you,

Look up conditional formatting. Here's a quick synopsis:

Go into the design of the subform, right-click on the field
you want made bold, then add your condition and what you
want to happen when that condition is met.

Tom Lake
 
M

Marshall Barton

You have to use an effective set of conditions.

Add a text box (named txtLatest) to the subreport's header
section. Set its expression to =Max(datefield)

Then the condition would be like:

[datefield] = [txtLatest] And [datefield] >=Date()
And [datefield] <= Date()+7
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top