Error when posting change to stored procedure dataset (SQL Server)
Posted: Wed 01 May 2013 19:23
Using UniDAC 5.01, Delphi XE2 Update 4.1, SQL Server 2012
I have UniStoredProc with a SELECT stored procedure, and SQLDelete, SQLInsert and SQLUpdate properties set to respective stored procedures.
The respective stored procedures were created with a database tool (create SUID stored procedures).
I have form with controls (DBEdit) linked to the UniStoredProc. I open the form, then open the UniStoredProc. Then I make a change to one data field, then attempt to Post on the UniStoredProc.
Through DBMonitor I can see that it is calling the update stored procedure, but this is the error returned:
DatabaseID is the primary key in the table.
Please help me to resolve this error urgently!
I have UniStoredProc with a SELECT stored procedure, and SQLDelete, SQLInsert and SQLUpdate properties set to respective stored procedures.
The respective stored procedures were created with a database tool (create SUID stored procedures).
I have form with controls (DBEdit) linked to the UniStoredProc. I open the form, then open the UniStoredProc. Then I make a change to one data field, then attempt to Post on the UniStoredProc.
Through DBMonitor I can see that it is calling the update stored procedure, but this is the error returned:
The formal parameter "@DatabaseID" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output.
DatabaseID is the primary key in the table.
Please help me to resolve this error urgently!