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  

Conditional formatting question



 
 
Thread Tools Display Modes
  #1  
Old December 3rd, 2005, 06:49 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Conditional formatting question

I want to have records with dates in the next 7 days in bold type so that
appointments associate with these dates stand out. Can you please help?
--
Thanks for your time!
  #2  
Old December 3rd, 2005, 07:23 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Conditional formatting question

Open the report in Design View. Right click the textbox that holds the date
and choose Conditional Formatting. Set the first drop down to "Field value
is", the second to "Between", the first textbox to "Date()", and the second
textbox to "Date()+7" (all without the quotes). Click the Bold button on
that line and click Ok. Preview the report and see if it worked. Verify the
7th day is doing what you want. You may need to adjust the 7 to a 6 or 8. If
there is a time value in the date field, that may cause a problem also. If
there is, let me know.

--
Wayne Morgan
MS Access MVP


"NC_Sue" wrote in message
...
I want to have records with dates in the next 7 days in bold type so that
appointments associate with these dates stand out. Can you please help?
--
Thanks for your time!



  #3  
Old December 3rd, 2005, 07:41 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Conditional formatting question

This seems to work fine... but is there any way I can also apply the same
formatting to other feieds in the same row which are NOT associated with the
date i.e. the name of the person I have an appointment with and the time the
appointment is scheduled? (Time is a separate field.)
--
Thanks for your time!


"Wayne Morgan" wrote:

Open the report in Design View. Right click the textbox that holds the date
and choose Conditional Formatting. Set the first drop down to "Field value
is", the second to "Between", the first textbox to "Date()", and the second
textbox to "Date()+7" (all without the quotes). Click the Bold button on
that line and click Ok. Preview the report and see if it worked. Verify the
7th day is doing what you want. You may need to adjust the 7 to a 6 or 8. If
there is a time value in the date field, that may cause a problem also. If
there is, let me know.

--
Wayne Morgan
MS Access MVP


"NC_Sue" wrote in message
...
I want to have records with dates in the next 7 days in bold type so that
appointments associate with these dates stand out. Can you please help?
--
Thanks for your time!




  #4  
Old December 5th, 2005, 10:56 AM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Conditional formatting question

Yes, instead of using Field Value Is, use Expression Is and type in an
expression that refers to the date field.

Example:
[DateField]= Date() And [DateField] Date() + 8

This is also how it would have been handled if you had a time component
stored in the field. Instead of checking for =7, check for 8, that way
anytime of day on the 7th day will be within the range.

--
Wayne Morgan
MS Access MVP


"NC_Sue" wrote in message
...
This seems to work fine... but is there any way I can also apply the same
formatting to other feieds in the same row which are NOT associated with
the
date i.e. the name of the person I have an appointment with and the time
the
appointment is scheduled? (Time is a separate field.)
--
Thanks for your time!


"Wayne Morgan" wrote:

Open the report in Design View. Right click the textbox that holds the
date
and choose Conditional Formatting. Set the first drop down to "Field
value
is", the second to "Between", the first textbox to "Date()", and the
second
textbox to "Date()+7" (all without the quotes). Click the Bold button on
that line and click Ok. Preview the report and see if it worked. Verify
the
7th day is doing what you want. You may need to adjust the 7 to a 6 or 8.
If
there is a time value in the date field, that may cause a problem also.
If
there is, let me know.

--
Wayne Morgan
MS Access MVP


"NC_Sue" wrote in message
...
I want to have records with dates in the next 7 days in bold type so
that
appointments associate with these dates stand out. Can you please help?
--
Thanks for your time!






 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Conditional Formatting Question JamesJ Using Forms 0 November 12th, 2005 02:16 AM
Conditional Formatting Error ddate Worksheet Functions 0 May 5th, 2005 09:00 PM
Excel Macro Question about Conditional Formatting David Britton via OfficeKB.com New Users 3 February 10th, 2005 02:23 PM
Additional Conditional Formatting Question Sinfante General Discussion 13 August 2nd, 2004 04:20 AM
Freezing Conditional Formatting Ashish Chamaria Worksheet Functions 3 December 19th, 2003 10:54 AM


All times are GMT +1. The time now is 07:44 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.