Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Date/Time Stamp in classic asp

$
0
0

I have a legacy website (Frontpage 2000) using an Access 2000 database.

I added a date/time field to a table and set the default to:
=Now()

I added the time/date field to a form in Frontpage.

Is there something I can add to the .asp page to force the date/time field to enter the current date/time when the record is updated?

here is the current way the time/date field (ChangeDate1) looks in the .asp page:

<input NAME="ChangeDate1" SIZE="8" VALUE="<%=FP_FieldHTML(fp_rs,"ChangeDate1")%>"></td>

Here is the current SQL update statement I  created in the frontpage update .asp page:

------------
Update StatusQuery set changedate1='::changedate1::'

,projectassessmentstatus='::projectassessmentstatus::'

,projectassessmentstatuscomment='::projectassessmentstatuscomment::'

,projectassessmentstatusmonth='::projectassessmentstatusmonth::'
,projectassessmentstatusdate='::projectassessmentstatusdate::'
,projectassessmentstatusyear='::projectassessmentstatusyear::'


where id=::id::

----------------
I realize that Microsoft no longer supports either frontpage or access 2000, but can you give me a hint as to where to look for the solution if you are unable to help me?
I still need to work with this platform for now and cannot go to asp.net just yet
Thanks,

Ron


Viewing all articles
Browse latest Browse all 488

Trending Articles