|
-
Oct 5th, 2010, 10:59 AM
#1
Thread Starter
Fanatic Member
Fine calculation in a library management system project
Hi all,
I am making a library management project and i am facing problems in fine calculation part. I have Date_Of_Issue and Date_Of_Submission fields (both set to Date/Time datatype) in a table named Book_Details(the database i am using is MS-Access 2003).
All i want to do is a query which will calculate the difference of days between the Date_Of_Submission and Date_Of_Issue.
If the difference of days is more than 5,then a fine will be charged by the student on a basis of $5 per day i.e; if the difference of days between the Date_Of_Submission and Date_Of_Issue is 7 days,then a fine of $10 will be charged ny the student.
How to do this?
Please please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|