ORA-01036 illegal variable name/number
Posted: Wed 19 May 2010 00:41
I have tried almost everything under the sun to get an ext.js gridpanel to save correctly using the dotConnect tool and so far no luck. Everything I have tried gets the ORA-01036 error. What I can do is get the update statement to work if I manually enter the update value and the where clause value (to test the connection string and field names etc). But once I enter the field parameter values I get the ORA-01036 error message. For this test, the Oracle table only has the two fields. They are both Number fields. I tried the Original_ variable for the where clause variable and I get the same error message.
Here is the code:
"
UpdateCommand="UPDATE PROJECT_RESOURCE_TEST SET INTERNAL_EMPLOYEE_ID=:INTERNAL_EMPLOYEE_ID WHERE (PROJECT_ID=:PROJECT_ID)"
DataPagingMode="Auto"
SelectCommand="SELECT PROJECT_ID, INTERNAL_EMPLOYEE_ID FROM PROJECT_RESOURCE_TEST">
Here is the code:
"
UpdateCommand="UPDATE PROJECT_RESOURCE_TEST SET INTERNAL_EMPLOYEE_ID=:INTERNAL_EMPLOYEE_ID WHERE (PROJECT_ID=:PROJECT_ID)"
DataPagingMode="Auto"
SelectCommand="SELECT PROJECT_ID, INTERNAL_EMPLOYEE_ID FROM PROJECT_RESOURCE_TEST">