MikeAngelastro
Registered User.
- Local time
- Today, 03:03
- Joined
- Mar 3, 2000
- Messages
- 254
Hi,
I have a situation where I have one mde on a server and four clients. So they all are using the same front end. I have implemented security so folks have to log in. The database has patients ( a patient table) with a treatment plan called a case (treatment plan table with a case number as the key). Each case can have more than one follow-up ( a follow-up table with a case number as a foreign key ).
My problem is that on occasion a client records a follow-up for a case but later finds that the follow-up is missing for the case. However, one of the other clients pulls up a different case and finds extra follow-ups for it. It's like the second case kidnapped the follow-ups for the first case.
Typically, the client is looking at a case on a form and clicks a "Follow-ups" button to view and/or add follow-ups. I had noticed that sometimes the case would not record in the follow-up form; so I added a global variable to store the case number and have the code invoke the follow-up form using the global variable instead of the textbox value that holds the case number. This solved the first problem but now I'm finding that on occasion Access stores a follow-up to the wrong case. I believe that this happens when there is more than one client is logged in at the same time.
I'm thinking that maybe I should create a front-end file for each client but I'm not sure if that will fix the problem of the wayward follow-ups.
I'm wondering if any of you has had this kind of problem and have found a solution. Perhaps there is a better way to set up this "client-server" application.
Thanks,
Mike
I have a situation where I have one mde on a server and four clients. So they all are using the same front end. I have implemented security so folks have to log in. The database has patients ( a patient table) with a treatment plan called a case (treatment plan table with a case number as the key). Each case can have more than one follow-up ( a follow-up table with a case number as a foreign key ).
My problem is that on occasion a client records a follow-up for a case but later finds that the follow-up is missing for the case. However, one of the other clients pulls up a different case and finds extra follow-ups for it. It's like the second case kidnapped the follow-ups for the first case.
Typically, the client is looking at a case on a form and clicks a "Follow-ups" button to view and/or add follow-ups. I had noticed that sometimes the case would not record in the follow-up form; so I added a global variable to store the case number and have the code invoke the follow-up form using the global variable instead of the textbox value that holds the case number. This solved the first problem but now I'm finding that on occasion Access stores a follow-up to the wrong case. I believe that this happens when there is more than one client is logged in at the same time.
I'm thinking that maybe I should create a front-end file for each client but I'm not sure if that will fix the problem of the wayward follow-ups.
I'm wondering if any of you has had this kind of problem and have found a solution. Perhaps there is a better way to set up this "client-server" application.
Thanks,
Mike