Hello,
I am currenly working with two Forms
Form 1- Patient Form (PatientNum)
Form 2- Patient History (PatientNum)
I have just viewed a great YouTube video on how to make a button Open a Form and go to a matching record using the Where Condition. I got it to work great, but it only works once when opening the new form from the navigation bar. It doesn’t seem to want to work while I have both forms opened. I have to close Form 2 and used the button on Form 1 to make the event happen.
I am using a simple macro to Open Form 2 with the following Where conditional statement.
[PatientNum]= [Forms]![PatientForm]![PatientNum]
Because I am entering a lot of data I generally have both forms open and flip back and forth using the tabs. I would like, when I press the Open Form button for the Patient Number in Form 1 to match the Patient Number on Form 2.
It has been suggested that I use a subform- and i know how to do this- i would really like to learn how to create the macro so that i can use it in other forms as they are developed.
Thanks.. you guys have never let me down
I am currenly working with two Forms
Form 1- Patient Form (PatientNum)
Form 2- Patient History (PatientNum)
I have just viewed a great YouTube video on how to make a button Open a Form and go to a matching record using the Where Condition. I got it to work great, but it only works once when opening the new form from the navigation bar. It doesn’t seem to want to work while I have both forms opened. I have to close Form 2 and used the button on Form 1 to make the event happen.
I am using a simple macro to Open Form 2 with the following Where conditional statement.
[PatientNum]= [Forms]![PatientForm]![PatientNum]
Because I am entering a lot of data I generally have both forms open and flip back and forth using the tabs. I would like, when I press the Open Form button for the Patient Number in Form 1 to match the Patient Number on Form 2.
It has been suggested that I use a subform- and i know how to do this- i would really like to learn how to create the macro so that i can use it in other forms as they are developed.
Thanks.. you guys have never let me down