Hi All,
I am currently trying to make a db for a DVD rental company. (Coursework)
I have set up Customer info, DVD info and a rental table. It only needs to be a relatively simple DB but I am having problem adding the following features.
-Automatically calculate and save the "Date Due back" value in the rental table. I would like a msgbox to ask how many days the loan is for.
-Once the person comes to return the DVD, how could I work out the cost??
I basically want this function;[IF(Due date > todays date) then (todays date- due date)*late rate+ (due date- withdraw date)*daily rate. else (due date- withdraw date)*daily rate.
I dont know where to enter this information, is it on a form, in the table or through a querry. How could i then save my calculations in designated tables?
thanks so much for your help
mark
I am currently trying to make a db for a DVD rental company. (Coursework)
I have set up Customer info, DVD info and a rental table. It only needs to be a relatively simple DB but I am having problem adding the following features.
-Automatically calculate and save the "Date Due back" value in the rental table. I would like a msgbox to ask how many days the loan is for.
-Once the person comes to return the DVD, how could I work out the cost??
I basically want this function;[IF(Due date > todays date) then (todays date- due date)*late rate+ (due date- withdraw date)*daily rate. else (due date- withdraw date)*daily rate.
I dont know where to enter this information, is it on a form, in the table or through a querry. How could i then save my calculations in designated tables?
thanks so much for your help
mark