mloucel
Member
- Local time
- Today, 06:51
- Joined
- Aug 5, 2020
- Messages
- 347
Hello ALL.
I have a new request from my boss, and I can't solve it, here is why:
The form I am referring is called from a search form [ALL FORMS ARE BOUND TO A TABLE]
Search Form is bound to the PatientID since I need to find the patient first in order to create a new Authorization [or many]
once I find the Patient, I open the Authorization Form [Bound to the Authorization Table, MK is AuthorizationID and FK is PatientID]
I only need to display the name and 2 more fields from the PatientsT, so that the EU can see who the patient is.
Everything is still working fine but now they want to display ALL the Authorizations for that specific patient.
The Authorizations form is created so that the EU can ADD as many authorizations to a specific patient, hence bound to the authorizationsID and NOT the PatientID.
this works perfectly, and I can ADD as many as the EU wants no problem.
But now the boss wants to see how all the authorizations this patient has had in the past, so naturally I created a query [qryAuthPerPatient], where I Add all the tables that shows basic info so that the EU can see enough info to identify all the OLD authorizations.
To do that I need to check the PatientID and in that field [in the query] I add the following code:
when I test the query, it works. [qryAuthPerPatient]
then I created the form bound to the query, to test I run it enter a PatientID, and the form displays correctly ALL the Authorizations for that specific patient, so no problem so far.
now I do what I was taught to do: Pick the form and paste [probably wrong word] and then the problem comes.
I can see the Link Master Fields and Child Master Fields linked to The AuthorizationID, and when my form displays the SF is BLANK there is nothing just the headers display, so I thought maybe the LMC and CMF are incorrect, so I changed them to PatientID, but of course this does not work as well, I am confused and I don't know how to fix this, any help will be appreciated.
I created a test DB, with enough data to test,
Users table is encrypted so:
User Name: SU
Password: 1234
the DB [FE and BE] are a bit BIG and I can't load them here, so I had to create a link to my Google Drive if you want to see issue:
Maurice Problem
Enter The MENU, then Go To AUTHORIZATIONS, then choose ADD Auth
So, you can test USE Patient with ID 12 [Arriag Matthew] is another test with 4 authorizations, ALL OF THAT INFO IS FAKE...
And to top it off, she now wants that after a new authorization has entered, to be able to show that in the "BOX" [her words] of OLD authorizations, I may have an idea on how to do that, but suggestions will be appreciated.
Maurice.
I have a new request from my boss, and I can't solve it, here is why:
The form I am referring is called from a search form [ALL FORMS ARE BOUND TO A TABLE]
Search Form is bound to the PatientID since I need to find the patient first in order to create a new Authorization [or many]
once I find the Patient, I open the Authorization Form [Bound to the Authorization Table, MK is AuthorizationID and FK is PatientID]
I only need to display the name and 2 more fields from the PatientsT, so that the EU can see who the patient is.
Everything is still working fine but now they want to display ALL the Authorizations for that specific patient.
The Authorizations form is created so that the EU can ADD as many authorizations to a specific patient, hence bound to the authorizationsID and NOT the PatientID.
this works perfectly, and I can ADD as many as the EU wants no problem.
But now the boss wants to see how all the authorizations this patient has had in the past, so naturally I created a query [qryAuthPerPatient], where I Add all the tables that shows basic info so that the EU can see enough info to identify all the OLD authorizations.
To do that I need to check the PatientID and in that field [in the query] I add the following code:
Code:
[Forms]![AddAuthorizationsF]![PatID1]
when I test the query, it works. [qryAuthPerPatient]
then I created the form bound to the query, to test I run it enter a PatientID, and the form displays correctly ALL the Authorizations for that specific patient, so no problem so far.
now I do what I was taught to do: Pick the form and paste [probably wrong word] and then the problem comes.
I can see the Link Master Fields and Child Master Fields linked to The AuthorizationID, and when my form displays the SF is BLANK there is nothing just the headers display, so I thought maybe the LMC and CMF are incorrect, so I changed them to PatientID, but of course this does not work as well, I am confused and I don't know how to fix this, any help will be appreciated.
I created a test DB, with enough data to test,
Users table is encrypted so:
User Name: SU
Password: 1234
the DB [FE and BE] are a bit BIG and I can't load them here, so I had to create a link to my Google Drive if you want to see issue:
Maurice Problem
Enter The MENU, then Go To AUTHORIZATIONS, then choose ADD Auth
So, you can test USE Patient with ID 12 [Arriag Matthew] is another test with 4 authorizations, ALL OF THAT INFO IS FAKE...
And to top it off, she now wants that after a new authorization has entered, to be able to show that in the "BOX" [her words] of OLD authorizations, I may have an idea on how to do that, but suggestions will be appreciated.
Maurice.