jenlion
IS-IT--Management
- Nov 13, 2001
- 215
I'm having a big problem with a program I wrote for a law firm. This program (VB6 SP5) accesses a SQL Server 2000 database. Uses ADO control to create a connection. Perhaps this was my first mistake... should have put it all in code rather than using the control ... but the program started out simple enough.
The connection with ADO is successful. Data is displayed mostly through bound text boxes which they may edit. Problem is that in order to allow the Find command and easy adding, I kept the cursor on the Client. Now that they have more than 20,000 records, and 20 people entering data at the same time (instead of 3 or 4), this does not work.
I've tried different types (dynamic, keyset) or cursors with no real changes in behavior.
I think that I need to move the cursor back to the server. Trouble is that if I do that I get the error "rowset does not support scrolling backward", or fetching backward, and will not let me do a simple Find. (no, I can't replace with a select -- they want to move to a particular record but be able to scroll around that record). Also gives this error when we movelast. Not sure if this is intrinsic to server location of cursor or if it's because of other things added to my code -- the requirements have changed so often on this !$(@# project that I'm thinking about starting over!!
What's the best way to allow for massive data entry, multiple views, edits, deletions, additions, etc???
Thanks for help. This project got bigger than me in a hurry.
The connection with ADO is successful. Data is displayed mostly through bound text boxes which they may edit. Problem is that in order to allow the Find command and easy adding, I kept the cursor on the Client. Now that they have more than 20,000 records, and 20 people entering data at the same time (instead of 3 or 4), this does not work.
I've tried different types (dynamic, keyset) or cursors with no real changes in behavior.
I think that I need to move the cursor back to the server. Trouble is that if I do that I get the error "rowset does not support scrolling backward", or fetching backward, and will not let me do a simple Find. (no, I can't replace with a select -- they want to move to a particular record but be able to scroll around that record). Also gives this error when we movelast. Not sure if this is intrinsic to server location of cursor or if it's because of other things added to my code -- the requirements have changed so often on this !$(@# project that I'm thinking about starting over!!
What's the best way to allow for massive data entry, multiple views, edits, deletions, additions, etc???
Thanks for help. This project got bigger than me in a hurry.