Hi,
While I'm trying to run "insert into" query when "save" button is pressed, i'm getting the following error:
"No value given for one or more required parameters."
Below is the query:
stSql = "INSERT INTO [CUSTOMER] (CustID, Weight, AGE) VALUES (txtCustId, txtWeight, comboAge)"
rs.Open stSql, con
"txtCustID", "txtWeight", "comboAge" are the textboxes and combobox present in the form.
I have tried giving txtCustId.value in query, but still i'm getting the same error.
Can any one let me know on how to resolve this. Thanks.
While I'm trying to run "insert into" query when "save" button is pressed, i'm getting the following error:
"No value given for one or more required parameters."
Below is the query:
stSql = "INSERT INTO [CUSTOMER] (CustID, Weight, AGE) VALUES (txtCustId, txtWeight, comboAge)"
rs.Open stSql, con
"txtCustID", "txtWeight", "comboAge" are the textboxes and combobox present in the form.
I have tried giving txtCustId.value in query, but still i'm getting the same error.
Can any one let me know on how to resolve this. Thanks.