Fine a student? (1 Viewer)

croondevil

Registered User.
Local time
Yesterday, 23:35
Joined
May 30, 2009
Messages
14
I am currently working on a library database. and i want access to automatically fine a student $1 per day, if he fails to retun the book within the given time period.

I knw that this is possible using vba codes. but dont knw how to. Any help greatly appreciated
 

namliam

The Mailman - AWF VIP
Local time
Today, 08:35
Joined
Aug 11, 2003
Messages
11,695
You can do a calculation quite easy with dates...
i.e. Date() - [ExpectedDueBack]
Will give you the number of days that he is late... multiply this by your $1 and you are done :)
 

croondevil

Registered User.
Local time
Yesterday, 23:35
Joined
May 30, 2009
Messages
14
hehe..Why couldnt i think of this:p this is quite simple..Thx..i appreciate ur help :)
 

namliam

The Mailman - AWF VIP
Local time
Today, 08:35
Joined
Aug 11, 2003
Messages
11,695
We all overlook the simple solution(s) sometimes....
 

Users who are viewing this thread

Top Bottom