|
chadb -> RE: What is wrong with this code? (10/11/2004 16:37:30)
|
I will try to make it simple. I have a form with 1 text box. Wehn you submit, it does to an asp page, something like this: Sql = "UPDATE SalesOrder SET Notes = '" & Request.Form("Notes") & "'," sql = sql & Request.form("qty1") & "', qty2 = '" & Request.form("qty2") & "'," & "' WHERE ID Like '" & ID & "'" fp_conn.execute(sql) This all works fine. So then I have another page, which is a form that displays the text boxes with the sql data. This is an example of the text boxes: <%=FP_FieldVal(fp_rs,"Qty1")%> On this page, I want the emplyee to be able to update the text boxes if needed. On the submit from this page I do the same as about on an ASP page. These 2 pages are where I am having troubles. if the <%=FP_FieldVal(fp_rs,"Qty1")%> text box is left blank, that is when I get the error on the submitted ASP page. Does that make any sense?
|
|
|
|