Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Thank you for the best reply I've ever had to a forum question - it's extremely comprehensive and legible and answers my query thoroughly..."

Geography

Where in the world do Tek-Tips members come from?
defint (Programmer)
3 May 12 23:16
Greetings Access Gods,

I maintain a DB that tracks training dates. It's fairly large; my police agency has about 600 officers who are required to complete qualification training in several areas on an annual basis. For the sake of simplicity, I will just narrow it down to three: Pistol | rifle | shotgun.

The master report currently evaluates their expiration date on each of the weapons, and if an officer's training is expired on say, shotgun, then that officer is prohibited from arming with a shotgun until they requalify, but can still arm with either a pistol or rifle.

I would like the report to hide all expired dates (but not hide the field) on the report, as such:


NAME              PISTOL        RIFLE         SHOTGUN
--------------    ----------    ----------    ---------
BAKER, HELEN      10 JUL 12     12 NOV 12     29 SEP 12
LINDY, ROBERT     21 MAY 12     30 OCT 12        
SMITH, JOHN       01 JAN 13                   20 AUG 12


The query already calculates the annual expiration dates and displays those, but I cannot figure out how to modify the expressions to get them to hide if they evaluate to > 12 months.

Also, I need to preserve the formatting of this report as well. As it is, it's about 24 pages in a 10 font.

I wish I could give a steak dinner to the one who helps me solve this, but alas, all I have is a star.

Thanks.
Helpful Member!  PHV (MIS)
4 May 12 0:25
I cannot figure out how to modify the expressions
Which expressions ?
Tip: have a look at the Iif function.

Hope This Helps, PH.
FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions?
FAQ181-2886: How can I maximize my chances of getting an answer?

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close