P
|
Philip author 8/12/2008 |
Hi, ASPRunnerPro 5.2 / 423 Is it possible to show or hide a checkbox based on the date? In my application someone can subscribe to a series of events; I want ot hide automatically the checkboxes for past events. Regards, Philip
|
J
|
Jane 8/12/2008 |
Philip, |
P
|
Philip author 8/12/2008 |
Jane, |
J
|
Jane 8/13/2008 |
Philip,
str = "select * from TableName where RecordID=" & request.querystring("editid1") & " and DateFieldName>Now()" Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection if not rstmp.eof then smarty.Add "showcheckbox", True else smarty.Add "showcheckbox", False end if rstmp.close set rstmp=nothing |
P
|
Philip author 8/14/2008 |
Jane, |