Question
Timestamp plus 7 days
ASP VBScript and MySQL.
I need to add this:
Now() + INTERVAL 7 DAY
to this:
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param12", 135, 1, -1, MM_IIF(Request.Form("fld_enddate"), Request.Form("fld_enddate"), null)) ' adDBTimeStamp
But what ever I am doing isn't working. The old way that DW constructed the insert form worked a treat, but this way doesn't allow me to do this now.
This is how it was in the old insert statement:
MM_columnsStr = "blahblah...|fld_enddate|',Now() + INTERVAL 7 DAY,|...blahblah"
Any ideas?
Thanks
Mat
I need to add this:
Now() + INTERVAL 7 DAY
to this:
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param12", 135, 1, -1, MM_IIF(Request.Form("fld_enddate"), Request.Form("fld_enddate"), null)) ' adDBTimeStamp
But what ever I am doing isn't working. The old way that DW constructed the insert form worked a treat, but this way doesn't allow me to do this now.
This is how it was in the old insert statement:
MM_columnsStr = "blahblah...|fld_enddate|',Now() + INTERVAL 7 DAY,|...blahblah"
Any ideas?
Thanks
Mat
