nakamichie
Registered User.
- Local time
- Yesterday, 21:30
- Joined
- Apr 8, 2015
- Messages
- 16
Hello,
I have been working on my free time helping a friend build a tracking data base for some medical tracking of her staff. I have basically wrapped it up but when I thought I was done I realized a couple things that will cause a problem in the future. I have attached a stripped down version of the data base and the table I am trying to work out a solution to and have now spent several hours searchign the internet and trying every possible way to make it work and just can't figure out such a simple solution. The problems I am trying to solve are:
I have the Main form Called T_CrewEditMaster Form and this holds all the basic data on the person (DOB, etc). From this form you open a Form Called TestEntry Input. This form holds all the key Medical examinations that need to be tracked by person to make sure all exams are being done based on the age of the person, gender and if they are a smoker (The Key Categories I care about are the Male/Female Examinations and the Contacts/Glasses Exams). I have figured out how to make the append query append only the records it needs to append based of the above criteria. I now am trying to figure out that if the person now hits a certain age and now needs a couple more tests added and other tests removed that I can now use a script or action query to do this does it without wiping out the information already in there or making duplicate records of the basic tests already listed. I don't care that it deletes tests that have no dates in it as long as all tests for that age group area always there. As I have another form that when they go see a DR or something it will automatically update the test fields if they exist. I have only been able to delete the record and load it a new and cannot for the life of me create an append query that will only append the records that do not exist currently and not touch any records that have dates in it.
Another thing I can't figure out is how to make the "Test Input" Combobox update to the new setting and automatically change the Frequency of test time>. Basically If I am 35 years old then there is 10 tests that I need to do at certain intervals. But Now I am 40 years old and there is now 13 tests I need to do at different intervals. How do I make the frequency of the tests change with the combobox after it has already been set. The only way it currently works is I have to go to the combobox reclick the already selected test (it is already set to this test) and then the frequency changes to it.
Any help on the above would be much appreciated as I am at a serious trial and error and can't work this out.
I have been working on my free time helping a friend build a tracking data base for some medical tracking of her staff. I have basically wrapped it up but when I thought I was done I realized a couple things that will cause a problem in the future. I have attached a stripped down version of the data base and the table I am trying to work out a solution to and have now spent several hours searchign the internet and trying every possible way to make it work and just can't figure out such a simple solution. The problems I am trying to solve are:
I have the Main form Called T_CrewEditMaster Form and this holds all the basic data on the person (DOB, etc). From this form you open a Form Called TestEntry Input. This form holds all the key Medical examinations that need to be tracked by person to make sure all exams are being done based on the age of the person, gender and if they are a smoker (The Key Categories I care about are the Male/Female Examinations and the Contacts/Glasses Exams). I have figured out how to make the append query append only the records it needs to append based of the above criteria. I now am trying to figure out that if the person now hits a certain age and now needs a couple more tests added and other tests removed that I can now use a script or action query to do this does it without wiping out the information already in there or making duplicate records of the basic tests already listed. I don't care that it deletes tests that have no dates in it as long as all tests for that age group area always there. As I have another form that when they go see a DR or something it will automatically update the test fields if they exist. I have only been able to delete the record and load it a new and cannot for the life of me create an append query that will only append the records that do not exist currently and not touch any records that have dates in it.
Another thing I can't figure out is how to make the "Test Input" Combobox update to the new setting and automatically change the Frequency of test time>. Basically If I am 35 years old then there is 10 tests that I need to do at certain intervals. But Now I am 40 years old and there is now 13 tests I need to do at different intervals. How do I make the frequency of the tests change with the combobox after it has already been set. The only way it currently works is I have to go to the combobox reclick the already selected test (it is already set to this test) and then the frequency changes to it.
Any help on the above would be much appreciated as I am at a serious trial and error and can't work this out.