M
msnews.microsoft.com
Hello,
I have two asp pages (A and B) to be run on the same server and from the
same client.
1. In the page A, a checkbox value (checked or not checked) can be
recognised in the following code :
If Request.form("CheckBoxName") then ....
However, in the page B, the same code raises a "type mismatch" error, and it
has to be modified as follows for the codes to run :
If Request.form("CheckBoxName") <> "" then ....
2. In the page A, even if a recordset does not exist as a result of a
query, it is ignored and the codes can run without error. However, in the
page B, non-existing recordsets raise an "item cannot be found" error.
I tried to find out the differences of these two asp pages, but I am so far
not able to. Does anybody has an idea ?
Thank you very much,
Kiyomi
I have two asp pages (A and B) to be run on the same server and from the
same client.
1. In the page A, a checkbox value (checked or not checked) can be
recognised in the following code :
If Request.form("CheckBoxName") then ....
However, in the page B, the same code raises a "type mismatch" error, and it
has to be modified as follows for the codes to run :
If Request.form("CheckBoxName") <> "" then ....
2. In the page A, even if a recordset does not exist as a result of a
query, it is ignored and the codes can run without error. However, in the
page B, non-existing recordsets raise an "item cannot be found" error.
I tried to find out the differences of these two asp pages, but I am so far
not able to. Does anybody has an idea ?
Thank you very much,
Kiyomi