473,408 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

LinkMasterFields property setting has produced this error

I'm attempting to build an Access database to house hospital infection surveillance information.

Upon completing the database, I decided I needed a search function in the main form (complete with 2 subforms) to assist nurses in quickly finding a patient to monitor concurrently.

I tried two different things:

1) creating a search filter in the main form with a filter and clear filter button ),

which did not work and

2) designing a Search Form using this online tutorial (http://www.datapigtechnologies.com/f...earchform.html), which also didn't work.

The most embarrassing part is that the clean copy of the database, the one in which I had not "modified" was deleted two days earlier from a USB drive accidentally.

After attempting to delete all traces of my "modifications" (i.e., 1 and 2 above) my form no longer works. I now get an error message reading: LinkMasterFields property setting has produced this error:'A problem occured while Microsoft Office Access was communicating with the OLE server or active X Control'.

What can I do?
May 18 '10 #1

✓ answered by ADezii

@davisjr6
At first glance, it appears to me that you should have a Parent/Main Table that consists of specific Patient-related information such as: DOB, Address, Phone#, etc. This Table would have [MRN] as its Primary Key. Next, there may be a History/Visit Table which would cover all the Patient's Visits/Sessions. This could relate back to the Parent Table via a MANY ==> 1 Relationship via [MRN]. The [PatientID] would be the Primary Key in this Table. Any Diagnostics, Testing, Diseases, etc. that related to a Patient's specific Visit would make up a Third Table. This Table would relate back to the Visit Table in a MANY ==> 1 Relationship on [PatientID] and would have its own Unique Key. Additional Tables can be added and properly related as required.

16 5904
ADezii
8,834 Expert 8TB
@davisjr6
This is a tough one since the Error generated does not seem indicative of the actual problem. I can't see how creating a Filter would generate this problem. Can you Upload the Database that is not now working? Also, what Version of Access are you using?
May 18 '10 #2
@ADezii
Sure, I'll upload the dummy database. Just need to figure out where and how. Access 2003.

Note: The system will not let me upload the database. Let me see what else I can do.
May 18 '10 #3
TheSmileyCoder
2,322 Expert Mod 2GB
Compress it to a zip file and try again.
May 18 '10 #4
Here you go! Thanks!!!!
Attached Files
File Type: zip BSI.zip (154.5 KB, 136 views)
May 18 '10 #5
@TheSmileyOne
P.S. The main form is VAP.
May 18 '10 #6
ADezii
8,834 Expert 8TB
Got it, davisjr6. Will have a look later.
May 18 '10 #7
Thanks, friend!
May 18 '10 #8
ADezii
8,834 Expert 8TB
The problem appears with the [MRN] Field
  1. Why is [MRN] Text?
  2. How do you generate a New [MRN] Value in the VAP Form Table?
May 18 '10 #9
missinglinq
3,532 Expert 2GB
I suspect [MRN] is a Medical Records Number and as such is really should be Text, as no math will be done with it. I also suspect it's generated independently of this database and is simply input into the form.
May 18 '10 #10
ADezii
8,834 Expert 8TB
@missinglinq
Thanks for the insight, linq.
May 19 '10 #11
@missinglinq
Missingling is right on. Did he clear up your question? Thanks again for looking into this for me.
May 19 '10 #12
ADezii
8,834 Expert 8TB
The problem appears to be a little more than a LinkMasterFields Error. The Control Source of the VAP Form is a Query consisting of 3 Linked Tables, namely: GHS Roil-Up, VAP Form, and PNEU NHSN Form. The Tables are inter-related via 1 <==> 1 Relationships on the Primary Key [MRN]. The 2 Sub-Forms are based on the Tables Reintubation and VAP Pathogens. The Relationships involved with these Tables are also 1 <==> 1, and they also contain [MRN] as their Primary Key. The problem, as I see it, is that there is no mechanism in place to propagate the Primary Key Value ([MRN]) to these Subordinate Tables, thus the Link Errors. If you pre-populate the Reintubation and VAP Pathogens Tables with the [MRN} Values in the Main Form, you will not see this repeated Error. The Relationships among the Tables also result in something similar to a Circular Reference, and are close looped. If you are not experiencing many problems now, you probably will in the future. In my opinion, some form of Redesign is in order here. Perhaps someone else will have a different viewpoint on this matter.
May 19 '10 #13
@ADezii
Thanks so much for taking time to investigate further! Very helpful!!! I agree some form of redesign should be pursued; however, I'm at a loss as in what direction.

Essentially, each patient will have the same MRN (unique identifier=Medical record number) for every visit, but a different Patient ID number (billing number) for each visit. My problem is trying to figure out how to build tables/forms appropriately factoring in the correct approach to the Primary key.

For instance, Patient A enters hospital on 12/12/2009 with three similar infections. Then patient A is readmitted on 3/19/2010 with a set of different infections (e.g., CLABSI, VAP, etc.)and one infection that was similar to that identified on 12/12. How do I build a database in which you can simultaneously capture old infections and yet uniquely identify new infections (to ensure proper reporting to CDC) without having to reinput patient name, MRN, DOB, facility location, unit, etc.

I think the crux of the issue is that I don't know how to properly designate the primary key. Should it be MRN for all the tables, just change the relationship (1 to many, 1 to 1) or link MRN to Patient ID in some tables?

Additionally, since last weeks question I've converted my database to Access 2007.

Thanks again!
May 26 '10 #14
ADezii
8,834 Expert 8TB
@davisjr6
At first glance, it appears to me that you should have a Parent/Main Table that consists of specific Patient-related information such as: DOB, Address, Phone#, etc. This Table would have [MRN] as its Primary Key. Next, there may be a History/Visit Table which would cover all the Patient's Visits/Sessions. This could relate back to the Parent Table via a MANY ==> 1 Relationship via [MRN]. The [PatientID] would be the Primary Key in this Table. Any Diagnostics, Testing, Diseases, etc. that related to a Patient's specific Visit would make up a Third Table. This Table would relate back to the Visit Table in a MANY ==> 1 Relationship on [PatientID] and would have its own Unique Key. Additional Tables can be added and properly related as required.
May 26 '10 #15
Thanks (screams), ADezii!!! You're response made things much more clear!!!
May 26 '10 #16
ADezii
8,834 Expert 8TB
@davisjr6
Happy the fog lifted for you.
May 26 '10 #17

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: MLH | last post by:
Combo box LimitToList property setting of No does not prevent the MS Access error "The text you enter must match an entry in the list" from popping up. What makes this bad is that the error is not...
2
by: MLH | last post by:
A form named frmVehicleEntryForm has a number of textbox controls who's OnGotFocus property setting is an expression... =Change2Green() Change2Green() looks something like this... Dim MyControl...
10
by: MLH | last post by:
I have an A97 table with a Yes/No field named TowJob and a form bound to that table. The TowJob control on the form is bound to the same field. It is an option group with Yes and No bttns valued...
19
by: MLH | last post by:
I call the following Sub and Function in frmLaunch's OnOpen event code. I keep getting Property Not Found error for the AllowBypassKey setting. Failure point is line #30 in the Function (not the...
6
by: MLH | last post by:
I have a form named frmVehicleEntryForm. It has a 3-tab tab control. On the 2nd tab page, there's a textbox named VehicleLocationName whose default value setting is ...
0
by: MLH | last post by:
I use http://www.ncdot.org/dmv/forms/vehicleregistration/download/mvr605a.pdf as the hyperlink address property setting on a command button. The button has no code behind it. I get an error on...
4
by: MLH | last post by:
I have an error #2473. I don't think it is related to References. I rolled out an A97 mde file that runs on several machines - but gives me this error on one workstation??? Here's the error: ...
0
by: MLH | last post by:
Why might a hyperlink address property setting of http://www.ncdot.org/dmv/forms/vehicleregistration/download/mvr605a.pdf give rise to "An unexpected error has returned" while one like...
7
by: jgoodnight | last post by:
Hello, I've read through many forum posts on this issue today but can't seem to find a solution that fits my particular case. I have three main tables: - tblIssues (PK: IssueID) -...
17
by: eranil84 | last post by:
I get this "The LinkMasterFields Property setting has produced this error: 'A problem occurred while Microsoft Office Access was communicating with the OLE server or ActiveX Control' " error message...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.