MelissaEvans
Programmer
Given: SQL 7.0, using an ODBC connection, ADO 2.5, MDAC 2.51, server side cursor, keyset cursor type, optimistic locks
1. I have a trigger that is altering a field in the background upon update. Actually, it makes several changes. I am using a keyset cursor type (which means that I should have the most current version of the data reguardless), but not all of the changes that the trigger makes show up. When I look at the record in the query analyzer, the change is there. In my app, if I move from the record and come back to it, I still don't see it. I have to re-get the recordset. Like I said, this is only for certain fields. Does anyone know of something that will affect how a trigger makes its changes?
2. My app uses several different tables. I've been testing it on a large database (100,000 records) and sometimes it's zippy, other times it's slower than snot. These tests have been when no one else is in the office, so it's not network traffic. My coworker pointed out that when the Enterprise Manager is open and something has been done/looked at in a specific table, then it's fast; but when the Enterprise Manager is closed, or has most recently looked at a different table, then it's slow. Any ideas what on earth is going on there? An explination would be nice, a solution would be even better =)
3. The user has a scroll bar that s/he used to navigate through the records. I had to manually impliment the scroll bar and the movement through the recordset due to many constraints; and in general, it works fine. But... (you knew I was going to say that...) when the user deletes a record, the scroll bar's max is decrimented by one and the deleted record (call it D) is indeed gone. However, when the user scrolls through the records, the record immediatly after the deleted one (call it D+) is correct, but the one following that (call it D++) is the same as D+. The very last record in the recordset is not visible to the user. It seems that there has been a bug noticed for this in MDAC 2.1, but I'm using 2.51 which is supposed to fix it.
That's the end of my oddities. Thanks for your time. *sigh*
~Melissa
1. I have a trigger that is altering a field in the background upon update. Actually, it makes several changes. I am using a keyset cursor type (which means that I should have the most current version of the data reguardless), but not all of the changes that the trigger makes show up. When I look at the record in the query analyzer, the change is there. In my app, if I move from the record and come back to it, I still don't see it. I have to re-get the recordset. Like I said, this is only for certain fields. Does anyone know of something that will affect how a trigger makes its changes?
2. My app uses several different tables. I've been testing it on a large database (100,000 records) and sometimes it's zippy, other times it's slower than snot. These tests have been when no one else is in the office, so it's not network traffic. My coworker pointed out that when the Enterprise Manager is open and something has been done/looked at in a specific table, then it's fast; but when the Enterprise Manager is closed, or has most recently looked at a different table, then it's slow. Any ideas what on earth is going on there? An explination would be nice, a solution would be even better =)
3. The user has a scroll bar that s/he used to navigate through the records. I had to manually impliment the scroll bar and the movement through the recordset due to many constraints; and in general, it works fine. But... (you knew I was going to say that...) when the user deletes a record, the scroll bar's max is decrimented by one and the deleted record (call it D) is indeed gone. However, when the user scrolls through the records, the record immediatly after the deleted one (call it D+) is correct, but the one following that (call it D++) is the same as D+. The very last record in the recordset is not visible to the user. It seems that there has been a bug noticed for this in MDAC 2.1, but I'm using 2.51 which is supposed to fix it.
That's the end of my oddities. Thanks for your time. *sigh*
~Melissa