Miikka Hamalainen wrote:
Quote:
Hi All,
I'm making library db using SQL.
I have date when book has been loaned (Date loaned) and date to return the
book (Return date), which is 4 weeks.
How can I get current date to show in Date loaned-field?
How do I add 4 weeks to date loaned and can I do it in INSERT
INTO-sentence? |
If Date() [the current date] is not recognized as a valid function when
you execute the INSERT INTO, you have to pass it as a parameter. You can
use its value+28 for [return date] then.
Could it be that simple?
--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea