Robbyp2001
Registered User.
- Local time
- Today, 15:25
- Joined
- Oct 8, 2011
- Messages
- 143
Hello Folks
First thing I'd like to say is that the help and advice I've received on here has been tremendous. Thank you all.
I have another question to ask of you, if I may.
My Library database has a continuous form, each form contains the book details and the [dateOut] (the date of the borrowing) and [dateIN] (the date the book is due to be returned). [dateOut] is set to Date() and is of course populated when the student borrows a book. [dateIN] is populated by calculating [dateOut]+7. So far no problems with that.
Could someone help me with the code behind a proposed TextBox on the same form that will show "Overdue" when the current date has gone beyond the [dateIN]. So, Date()>[dateIN]. When this event occurs I'd like the textbox to show "Overdue", otherwise it should remain invisible.
There is a possibility that I will extend the borrow time to Date()+14, so the code would have to be able to deal with that too.
I have thought that it would be helpful for the user if this "Overdue" flag was enhanced, say, Red Text, Bold and perhaps flashing if possible, making it as conspicuous as possible.
What do you think?
Many thanks
Rob
First thing I'd like to say is that the help and advice I've received on here has been tremendous. Thank you all.
I have another question to ask of you, if I may.
My Library database has a continuous form, each form contains the book details and the [dateOut] (the date of the borrowing) and [dateIN] (the date the book is due to be returned). [dateOut] is set to Date() and is of course populated when the student borrows a book. [dateIN] is populated by calculating [dateOut]+7. So far no problems with that.
Could someone help me with the code behind a proposed TextBox on the same form that will show "Overdue" when the current date has gone beyond the [dateIN]. So, Date()>[dateIN]. When this event occurs I'd like the textbox to show "Overdue", otherwise it should remain invisible.
There is a possibility that I will extend the borrow time to Date()+14, so the code would have to be able to deal with that too.
I have thought that it would be helpful for the user if this "Overdue" flag was enhanced, say, Red Text, Bold and perhaps flashing if possible, making it as conspicuous as possible.
What do you think?
Many thanks
Rob