anyone????
Have a form, on submit exec query then displays more html on same page for confirmation. have input following code when connection is live;
'if conn.errors.count > 0 THEN
'description = conn.errors(0).description
'response.redirect("error.asp?desc="& description & "; SQL=" & strUpdateTable)
'end if
when i force an error, i just get my confirmation html on same page. when i grey out this code, i see get the error. Is there any alternative to response redirect, as the page is not redirecting? The code works fine on two other forms and it def not syntax. Maybe something to do with header. any work arounds???
Ta
Have a form, on submit exec query then displays more html on same page for confirmation. have input following code when connection is live;
'if conn.errors.count > 0 THEN
'description = conn.errors(0).description
'response.redirect("error.asp?desc="& description & "; SQL=" & strUpdateTable)
'end if
when i force an error, i just get my confirmation html on same page. when i grey out this code, i see get the error. Is there any alternative to response redirect, as the page is not redirecting? The code works fine on two other forms and it def not syntax. Maybe something to do with header. any work arounds???
Ta