I am using Interdev developer and MSSQL Server 2000. I have written a trigger where when a change is made in a table(tblFirm) the trigger catches that and updates another table(tblExternalTeam). So when the firm name is updated in the firm table the trigger updates any of the same firm names that exist in the tblExternalTeam table.
Now the trigger works fine when entering in the data directly to the table.
The problem exists when I use a recordset in my interdev application to make the changes. The db is independant of the application so the trigger shouldnt matter. So if I make changes to the firm name using a recordset in the application developed with interdev I can go look in the tables and the changes are made but I get a recordset update error when using the web application even though the changes are made. The error is this:
Error Type:
Microsoft Cursor Engine (0x80004005)
Key column information is insufficient or incorrect. Too many rows were affected by update.
/networkforms/_ScriptLibrary/Recordset.ASP, line 311
This is very confusing because the update is made on the table and the trigger fires and the updates are made in the other table which should be completely independant from the application. So I know this is an interdev app problem and not a db problem. Anyone have any suggestions as to why I would be getting this recordset error? All the recordset does is update the record in the tblFirm from there the application shouldn't even know what the db(trigger) does.
Thanks in advance
Bryant
Now the trigger works fine when entering in the data directly to the table.
The problem exists when I use a recordset in my interdev application to make the changes. The db is independant of the application so the trigger shouldnt matter. So if I make changes to the firm name using a recordset in the application developed with interdev I can go look in the tables and the changes are made but I get a recordset update error when using the web application even though the changes are made. The error is this:
Error Type:
Microsoft Cursor Engine (0x80004005)
Key column information is insufficient or incorrect. Too many rows were affected by update.
/networkforms/_ScriptLibrary/Recordset.ASP, line 311
This is very confusing because the update is made on the table and the trigger fires and the updates are made in the other table which should be completely independant from the application. So I know this is an interdev app problem and not a db problem. Anyone have any suggestions as to why I would be getting this recordset error? All the recordset does is update the record in the tblFirm from there the application shouldn't even know what the db(trigger) does.
Thanks in advance
Bryant