A
Alan
Dear Frontpage guru
My form has two date fields and I need to append a MSAccess table with a row
for each day between the two dates. Using VBScript driven from the submit
button I can calculate the contents of each row I wish to append but I do
not know how to then run the append query as such.
while tmpdate<EndDate
The following line and the execution of the query is the bit I don't
know how to do
fp_sQry="insert into tblBookingList (BookingDetailID, date)
values(intBookingDetailID,tmpDate)"
I then increment tmpDate and cycle throught the loop again
tmpDate = dateadd ("d",1,tmpDate)
wend
Can anyone help please.
Thanks...Alan
My form has two date fields and I need to append a MSAccess table with a row
for each day between the two dates. Using VBScript driven from the submit
button I can calculate the contents of each row I wish to append but I do
not know how to then run the append query as such.
while tmpdate<EndDate
The following line and the execution of the query is the bit I don't
know how to do
fp_sQry="insert into tblBookingList (BookingDetailID, date)
values(intBookingDetailID,tmpDate)"
I then increment tmpDate and cycle throught the loop again
tmpDate = dateadd ("d",1,tmpDate)
wend
Can anyone help please.
Thanks...Alan