JeroenDortmans
Technical User
What I want to do:
In table 1 I have a field named "person_ID".
I have a table 2 which is related to table 1 with the same field named "person_ID".
On the first page (form) I have information from table 1. The second page (form) has information of table 2.
What I want to know:
I have placed a button on page 1. With this button I want to go to the information with the related person_ID on page 2, only when there is a related person_ID in table 2. When the same person_ID in table 2 doesn't exist, promt a MsgBox.
Can somebody help with the VBS-code I need for this?!
In table 1 I have a field named "person_ID".
I have a table 2 which is related to table 1 with the same field named "person_ID".
On the first page (form) I have information from table 1. The second page (form) has information of table 2.
What I want to know:
I have placed a button on page 1. With this button I want to go to the information with the related person_ID on page 2, only when there is a related person_ID in table 2. When the same person_ID in table 2 doesn't exist, promt a MsgBox.
Can somebody help with the VBS-code I need for this?!