Re: IF Statements... Where to Begin?
From: Allen Browne (AllenBrowne_at_SeeSig.Invalid)
Date: 12/10/04
- Next message: Brett Patterson: "Re: IF Statements... Where to Begin?"
- Previous message: Allen Browne: "Re: Access 2003 Nightmares"
- In reply to: Brett Patterson: "IF Statements... Where to Begin?"
- Next in thread: Brett Patterson: "Re: IF Statements... Where to Begin?"
- Reply: Brett Patterson: "Re: IF Statements... Where to Begin?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Dec 2004 10:53:15 +0800
Assuming Access 2000 or later, conditional formatting would be the easiest
approach.
Open the report in design view.
Add a text box the size of the detail section, and Send To Back (Format
menu).
Choose Conditional Formatting on the Format menu, and set it to:
Expression Is... [SomeDateTimeField] < Now()
or some such expression that meets the condition you have in mind.
-- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Brett Patterson" <BrettPatterson@discussions.microsoft.com> wrote in message news:3D7D02EE-5E05-43E4-83C8-62539B8B8DFE@microsoft.com... > Hello all. > > I am currently working on a project and am stuck. I know how to do it in > Excel, but now wish to do it in access, and there's trouble. > > I want to continually (once per day at XX:XX time) check our records for > those that match certain criteria, those being that the date is older than > 14 > days AND that a field value is "Awaiting Pickup". Now, in Excel I can > turn > the row red, make it stand out. I wish to do the same in Access on > Reports, > and print notices. > > I don't know the best way of attacking this, but IF() statements seem to > be > it. So here's my questions: > > What's the best way to attack this? IF() statements, Switch() > statements, > Macros what? > Where would I code such functions? > Is it possible to create one function to check for criteria, generate a > report, print notices, and print the report? > > Thanks for the help. I know it's not good to post multiple questions in > the > same post, but they're all along the same line. > > ~Brett Patterson
- Next message: Brett Patterson: "Re: IF Statements... Where to Begin?"
- Previous message: Allen Browne: "Re: Access 2003 Nightmares"
- In reply to: Brett Patterson: "IF Statements... Where to Begin?"
- Next in thread: Brett Patterson: "Re: IF Statements... Where to Begin?"
- Reply: Brett Patterson: "Re: IF Statements... Where to Begin?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|