I have successfully created a page that can step through a database with a navbar. I can then edit or delete the item that I am at. This is all done with design time controls.
I now would like to be able to search by name. I have made this work by using a script that takes a txtbox variable and changes the SQL Statement of a Recordset, but when it brings up the new record that it finds, I can't edit or delete this item. It throws back an error:
Microsoft OLE DB Provider for Oracle (0x80040E2F)
ORA-00001: unique constraint (DBAWEBADMIN.ACCOUNT_PK) violated
/itsdba/_ScriptLibrary/Recordset.ASP, line 311
Also, if I try and use the navbar after searching, it starts over at the beginning (goes back to the letter A of the alphabet). I would like to be able to step from the point it was at, and be able to edit and delete items I have searched for.
Seems to me it is some sort of cursor problem? I could use some suggestions, I am stuck.
Thanks,
Kevin
I now would like to be able to search by name. I have made this work by using a script that takes a txtbox variable and changes the SQL Statement of a Recordset, but when it brings up the new record that it finds, I can't edit or delete this item. It throws back an error:
Microsoft OLE DB Provider for Oracle (0x80040E2F)
ORA-00001: unique constraint (DBAWEBADMIN.ACCOUNT_PK) violated
/itsdba/_ScriptLibrary/Recordset.ASP, line 311
Also, if I try and use the navbar after searching, it starts over at the beginning (goes back to the letter A of the alphabet). I would like to be able to step from the point it was at, and be able to edit and delete items I have searched for.
Seems to me it is some sort of cursor problem? I could use some suggestions, I am stuck.
Thanks,
Kevin