473,394 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

conditions in access

we are creating a leave maintainence details in access
we have two tables
master - empcode,fname,lname,brcode,dt_join,total_el,total_ sl(main table)
details- empcode,el,sl,fromdate,todate,half_el,half_sl,half day_date(this details
entered every day)
details table is made to update in the master table.
We have to create a without pay list report according to the conditions like:

1. If a employee has completed 10 years of service he is eligible for 30 days el(earned leave) .if the total_el in the master table is more than 30 it must comes in the without pay list report.

2. If a employee has less than 10 years of service he is eligible for 24 days el.
if the total_el in the master table is more than 24 it must comes in the without pay list report.

3. If a employee has less than 1years of service he is not eligible for el.if there is many leave in thetotal_el in the master table ,it must comes in the without pay list report.
How to do this?
Please help.
May 23 '07 #1
1 1375
NeoPa
32,556 Expert Mod 16PB
If you were to take some care in the writing of your (quite intricate) question, you may find that the experts will read it more thoroughly. After about the third unintelligible abbreviation and I forget how many misuses of words, I simply gave up.

If you want help on this, I suggest you write it out properly in clear English, as explained in the FAQ and the (POSTING GUIDELINES: Please read carefully before posting to a forum)

MODERATOR.
May 24 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: GIMME | last post by:
One of my coworkers insists that one should never use static methods because race conditions exist. Thinking along the lines that all variable assignments are assignments to static variables. ...
4
by: bhbgroup | last post by:
I have a query on one large table. I only add one condition, i.e. a date (the SQL reads like 'where date > parameterdate'. This query is rather quick if 'parameterdate' is either explicitly...
5
by: Uday Deo | last post by:
Hi everyone, I am looping through 4 nested loops and I would like to break in the inner most loop on certain condition and get the control on the 2 nd loop instead of 3rd loop. Here is briefly...
3
by: Erland Sommarskog | last post by:
I've uploaded a new version of my article on Dynamic Search Conditions on http://www.sommarskog.se/dyn-search.html. I've revised the article to cover SQL 2005, and made a general overhaul of the...
1
by: Kosmos | last post by:
So apparently my last post wasn't for MS Access specific VBA...the following forum is and helps with MS Access If statements in this specific link...suprisingly I found it hard to simply find about...
5
by: mars | last post by:
I use TurboGears to do some web service. TurboGears use cherrypy. When web browser access this site, the cherrypy will call my python program. So my program looks like a lib. When web browser...
2
by: Igor | last post by:
1. Are stored procedures WITH ENCRYPTION slower than the ones without encryption? 2. Should i put most restrictive conditions first or last in WHERE? In which order does MSSQL execute...
3
by: alex091088180189 | last post by:
Hi all sorry if this has been answered but on a tight schedule so haven't got time to search I'm making a database to record and refer results to several tests in a unit of exams. There are 8...
12
by: =?ISO-8859-1?Q?Ren=E9?= | last post by:
Hi, is there a rule of thumb what is better/faster/more performant in SQL Server 2005? a) SELECT * FROM A INNER JOIN B ON B.ID = A.ID AND B.Cond1 = 1 AND B.Cond2 = 2 b) SELECT * FROM A INNER...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.