ansar.abdulhai
Registered User.
- Local time
- , 19:30
- Joined
- Mar 19, 2009
- Messages
- 17
Hello All,
Don't know this is the right spot to ask multiple user access issue.
I have a multiple user access database in access 2007. I did created back end and front end. Made accde format of front end and copied it on everyones desktop. Every thing works fine.
Problem:
I have a form "Form A" with a cmd button "Generate Ticket". Basically when the user fills up the form and hits the cmd button, the program under cmd button checks for the maximum value of "TicketNumber" field in the table "Main Table". The "TicketNumber" field is a custom autonumber type. The program now increments the value of maximum "TicketNumber" by 1 and assigns it to current record's TicketNumber field and also populates the rest of the fields. It also simultaneously sends out an email to respective personnel that a ticket number is generated.
The problem is when two users hit cmd button "Generate Ticket" at the same time with a delay of some milliseconds, the table is only populated with the info of the user who hit the cmd button first and the second user's info is getting deleted except his name and a blank record is getting populated in the Main Table. Now, here the email which is sending out the ticket number shows same ticket number generated for both the users. But when main table is checked, it is not. The second user's info is totally blank except his name is populated and the first user's info is getting populated as it is required.
Can anyone solve this issue? This is really urgent. I have only this issue to implement my software.
Thanks all,
-----------
Don't know this is the right spot to ask multiple user access issue.
I have a multiple user access database in access 2007. I did created back end and front end. Made accde format of front end and copied it on everyones desktop. Every thing works fine.
Problem:
I have a form "Form A" with a cmd button "Generate Ticket". Basically when the user fills up the form and hits the cmd button, the program under cmd button checks for the maximum value of "TicketNumber" field in the table "Main Table". The "TicketNumber" field is a custom autonumber type. The program now increments the value of maximum "TicketNumber" by 1 and assigns it to current record's TicketNumber field and also populates the rest of the fields. It also simultaneously sends out an email to respective personnel that a ticket number is generated.
The problem is when two users hit cmd button "Generate Ticket" at the same time with a delay of some milliseconds, the table is only populated with the info of the user who hit the cmd button first and the second user's info is getting deleted except his name and a blank record is getting populated in the Main Table. Now, here the email which is sending out the ticket number shows same ticket number generated for both the users. But when main table is checked, it is not. The second user's info is totally blank except his name is populated and the first user's info is getting populated as it is required.
Can anyone solve this issue? This is really urgent. I have only this issue to implement my software.
Thanks all,
-----------
