Hi all,
I have a smartforms list view built on top of a smartobject which is built on top of a stored procedure. The input parameteres for the stored procedure are uniqueidentifiers, nvarchars and decimals. Here is the scenerio:
I add a record by clicking 'add' button onthe lsit view and then fill in all the fields. And submit the form where I call "Execute a view method for items that are in a specific state(Added)". Lets say the decimal value I passed in was 9.89. I look in the database and everything I have types are stored fine. I then open another form which loads all the values for that list view including the decimal value correctly. I then change the value for that decimal using the 'edit' button and on form submit; I execute "Execute a "update" method for items that are in a specific state(Changed). The input for that method comes as usual from the instance of list view smartobject. This time I get the error message "Error converting data type varchar to numeric.' message. The data type for the forms conftrols, the smartobject properties and the stored procedure for the decimal is decimal, so i dont understand this problem.
Please let me know if you have any solutions or comments. Thanks in advance.