![]() |
Sergey Kornilov admin 11/15/2010 |
Just a basic idea of how you can make it work. Put this code to 'Edit page: BeforeProcess event'. Replace names in bold with actual field and table names. sql = "select statusfrom TableNamewhere KeyColumn=" & Request.QueryString("editid1") set rs = CustomQuery(sql) if rs("Status")="submitted" then response.redirect "tablename_view.asp?editid1=" & Request.QueryString("editid1") end if |