Hi,
I have a DW which is retriving an SQL table's column. I can scroll down and up in the DW but I want to add the option if I press i.e. letter "p" then it scrolls to the first row which starts with that letter.
I used keydown() command to identify the pressed button. And as the scrolltorow() needs the number of the row to go there I created a temporary table in my SQL script which retrieves the data, and add en extra IDENTITY field and insert all the data from the original table to this temporary ordering by name. SO then I could determine with a select the number of the first row which starts with the specified letter. It works but when I close the window and open again I have an error msg:
"Failed to commit transaction. Attempt to initiate a new SQL server operation with results pending."
I close this error msg and works again but I think this is not normal.
What can be the problem? Is there any other better solution for this alphabetic search?
Thanks the help in advance.
I have a DW which is retriving an SQL table's column. I can scroll down and up in the DW but I want to add the option if I press i.e. letter "p" then it scrolls to the first row which starts with that letter.
I used keydown() command to identify the pressed button. And as the scrolltorow() needs the number of the row to go there I created a temporary table in my SQL script which retrieves the data, and add en extra IDENTITY field and insert all the data from the original table to this temporary ordering by name. SO then I could determine with a select the number of the first row which starts with the specified letter. It works but when I close the window and open again I have an error msg:
"Failed to commit transaction. Attempt to initiate a new SQL server operation with results pending."
I close this error msg and works again but I think this is not normal.
What can be the problem? Is there any other better solution for this alphabetic search?
Thanks the help in advance.