S
SDecou
I'm having trouble with my Infopath command to execute a stored procuedure
that will insert values into a table. The table has an identity field that
will increment when a record is inserted.
This is the command line I'm trying to execute:
XDocument.QueryAdapter.Command = "execute sp_insert_Overtime " + "'" + id +
"'," + "'" + CLEmpID + "'"
id is = 0, using to set the identity in the table
clempid is = 2294 and is defined as a varchar field in the table
I keep getting type mismatch errors. I was able to successfully run the
above command line in query analyzer so that a record was inserted into the
table. Can anyone help me with the syntax above?
that will insert values into a table. The table has an identity field that
will increment when a record is inserted.
This is the command line I'm trying to execute:
XDocument.QueryAdapter.Command = "execute sp_insert_Overtime " + "'" + id +
"'," + "'" + CLEmpID + "'"
id is = 0, using to set the identity in the table
clempid is = 2294 and is defined as a varchar field in the table
I keep getting type mismatch errors. I was able to successfully run the
above command line in query analyzer so that a record was inserted into the
table. Can anyone help me with the syntax above?