changing information on client record, but keeping previous entries intact.

nmartineza

Registered User.
Local time
Yesterday, 18:31
Joined
Mar 24, 2014
Messages
14
I work at a mental/behavioral health facility and I use Microsoft Access to collect information on incidents regarding our adolescent clients.

The database is really basic, I have one table that stores client information, one table that stores the incident information, a query that links both tables, a lookup query based on client info table so staff can select a client from a combobox to add an incident, and five forms: main menu form, add new client form, edit existing client form, add incident to client form, and edit existing incident form.

The premise is that staff have to enter basic information on a client in the new client form, and they can lookup the record through a combobox in the edit existing client form. In the add incident to client form they can select a client in the combobox and add the incident information, and in the edit exiting incident form they can select and entered incident for modification. It is a two level structure, one client, multiple incidents.

My problem is that, clients switch program units consistently, and that's why I provided the editing opportunity for staff, so they can go to the edit existing client form and change the program unit. My only problem is that when they change the program unit, it changes it to all the records linked to that client. So all the incidents that occurred for a client in the "south" unit in the month of August, now are changed to incidents taking place in the "west" unit in the month of September. This creates a problem for my analyses because they are not representing the data accurately. The best way for me to deal with this is to ask about the program unit on each incident that gets entered, but this is a burden to staff when hundreds of incidents get entered on a monthly basis. I was wondering if there is a way to modify program unit on a client, and make sure that the modification is only reflected on data entries after the modification, and that the previous information is left intact.
 
Can you post a screenshot of your relationships?
 
When I try to post the URL for my picture, there is a message that says I need to have 10 or more posts and that I currently have 6. I don't even know what that means...
 
and this is post 10, I should be able to post my URL on the next one :(
 
url]
 
You're really not doing yourself (and more importantly, me) any favors with your inconsistent naming. In your initial post you had clients, incidents and ClientIncident tables; in the screenshot you posted you have Categories, Groups and Objects. I have no idea how the two sets of entities map to each other.

In your initial description you said you had a table that maps Incidents to Clients. That type of relationship implies a many-to many relationship (Multiple clients can be part of one incident and a client can be part of multiple incidents). The only table in your screenshot that links two others is MSysNavPaneGroups, however the relationships it has doesn't match what you described. It represents a one to many to many--one GroupCategory can have many Groups which can have many GroupsToObjects (whatever all that means).

Additionally, you talked about program units, but didn't tell me how your tables incorporated that data. So in conclusion, I have no idea what I am looking at. Can you provide some sample data for the tables and refer to them by their names (MSysNavPaneGroupsToObjects), instead of what they represent to you? Either that or name them more accurately.
 
I apologize for the misunderstanding. I think I misunderstood the task that you gave me. Those names shown in the screenshot are unfamiliar to me as well. How would I go about showing you the relationships you need to see?

Thank you!
 
Take a screenshot of the relationships for your database (the 3 tables you discussed), then you can either attach or embed it in your post when you click the 'Go Advanced' button for submitting a message.
 
I have attached a screenshot for the only relationship established between my two tables. In this screenshot you will be able to see all of the objects I created.
 

Attachments

  • tablerelationships.jpg
    tablerelationships.jpg
    98.3 KB · Views: 109
What table and field is the unit data in? Also, how is one more field to complete for an incident a burden? That table has like 50 fields, what's 1 more drop down?
 
The unit data is located in "tbl_Clients" and the field name is "Program." At this point I have come down to the same conclusion and have decided to move the field "Program" to "tbl_Incidents" since our clients move through units consistently and this seems to be the best way to keep that information as accurate as possible, and as you said, one more field is not too much to add.

I still wish there was a way to change the value of a field, but to leave anything connected to to intact before the change.
 

Users who are viewing this thread

Back
Top Bottom