Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlink conditional

Status
Not open for further replies.

maloaupito

Technical User
Jun 28, 2001
21
0
0
US
FP2003, W2K Server with FP 02 Extensions.
I built a results.asp table that is populated from a database. One of the fields is a modification date (mm/dd/yyyy). I added a column with an "Edit" hyperlink to an edit.asp that allows the user to edit all fields for that particular row in the table except that the modification date is automatically changed to that day. Conceptually I want this ""Edit" hyperlink for each record to do this:

If the modification date is prior to 7/1/2004
go to page1.asp
else (if the modification date is equal to or after 7/1/2004)
go to page2.asp

Please help with this code, if possible. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top