Dynaset-Delete-Multiuser

Hi,
My application Front-end and Attached Back-end are both on the server to be used by 25 users. My problem here is adding data through an unbound form takes about 35 seconds that used to be 10 seconds on a standalone PC (single user). I can still compromise with that but when it comes to deleting the data, it takes forever and Ctrl-Alt-Del to Endtask corrupts the db.
I am using
openrecordset("tablename" , db_open_dynaset)
do until...notfound
myset.delete
loop
close myset

and searching through the table for the particular record based on a key value provided through a small form and the button on the form executes the above code. How can I speed
the Addnew method I have used on adding records (35 secs) and on myset.delete (infinity) described above.

Hi cymbolic,
I waited for your comment or but after not geeting any response I am opening this question to other experts.

Problems: adding and deleting records

My application Front-end and Attached Back-end are both on the server to be used by 25 users. My problem here is adding data through an unbound form takes about 35 seconds
that used to be 10 seconds on a standalone PC (single user).

I used the following code to delete

I was using openrecordset("tablename" , db_open_dynaset)
do until...notfound
myset.delete
loop
close myset

and searching through the table for the particular record based on a key value provided through a small form and the button on the form executes the above code. This gave me problems so
I used the wizard and let it create a button for deleting record and it is OK now.
But back to adding record using ADDnew method through an unbound form how can I speed the data entry over the network.
The Addnew method I have used on adding records takes 35 secs-45 secs.

Are there different functionalities in your application? For example, I work for an insurance company which has its entire application (front end) build in Access. We migrated to SqlServer (backend) about a year and a half ago. Before that we had several different Access databases (backend): for each funtionality one and thus reducing the number of users and speeding up things.

Anyway, you should consider obtaining another backend, as even 10 seconds is way too much for a single record to be added.
For the addnew: maybe DB_APPEND_ONLY could do it.

Featured Post

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted. Others take a little more time and effort and often providing a sample database is very helpf…

Learn how to number pages in an Access report over each group.
Activate two pass printing by referencing the pages property:
Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …