Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help in report

Status
Not open for further replies.

Husean

Programmer
Joined
Jan 5, 2019
Messages
4
Location
IQ
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
 
 https://files.engineering.com/getfile.aspx?folder=c705b055-1b98-4049-9411-b3421048c037&file=report.rar
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top