Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • 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!
  • Students Click Here

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

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


help in report

help in report

help in report

Dear all
I have a table that contains the Employee ID field and the date of the day of delay, hour and minute
Required in the report
1- Show employee number, delay days and total delay days
2. If the number of days is less than 3, it should not appear in the report
3 - If the number of days 4 or 5 days should only appear 3 days
4. If the number of days 6 appears in the report, this is very good
5. If the number of days 7 or 8 not included in the report shows only 6 restrictions

sample in the link

I am sorry for my English is not good
Thank you so much good

RE: help in report

You have specified an exact mapping of real days and displayed days. So what hinders you to put this into a function or into lookup data, even if the math is over your head, you could simply store the pairs of numbers, there are only 9 pairs from 0-8 days. And there are only three sections or two turning points, which you could put into a table and then later even are able to adjust the specification.

Bye, Olaf.

Olaf Doschke Software Engineering

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

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