Hi,
I have an asp page which submits a value (x) from a text control to another page for processing.
The data type of the field which i am trying to insert into is NUMBER(4) -oracle.
The error I am getting is "Type Mismatch". I have tried casting x as Cint,Cdbl,Clng and have tried not casting x and still get this error regardless. Does anyone know why?
page 1:
<input type=text id="x" name="x" value="123">
(submits to page 2)
page 2:
pri_v=Request.form("x"
& ""
.
.
With rst
.Fields("priority"
= CInt(x)
etc...
Any help would be appreciated!
I have an asp page which submits a value (x) from a text control to another page for processing.
The data type of the field which i am trying to insert into is NUMBER(4) -oracle.
The error I am getting is "Type Mismatch". I have tried casting x as Cint,Cdbl,Clng and have tried not casting x and still get this error regardless. Does anyone know why?
page 1:
<input type=text id="x" name="x" value="123">
(submits to page 2)
page 2:
pri_v=Request.form("x"
.
.
With rst
.Fields("priority"
etc...
Any help would be appreciated!