Hello guys
Hope you can help me with this.
Here's the situation....
I have a form with all the student's details. I've added a command button in the form to open another form to let user to add details of spouse/children if the student is married.
From Student form -> click 'Add Spouse' -> will open Spouse form (this works ok)
I tried added records of spouse to a specific student, but when I try to see the record of spouse of the student, it doesn't come out.
I've check the tables of spouse,children and student and it seems that none of it are related as it is supposed to (they're supposed to be related using Passport_No of student).
I've tried adding a Passport_No field in the Spouse form, and added a code in the field "=[Student]![Passport_No]" and hide it from user.
When I try to run it thru the Student form, it has this '#Name?' in the Passport_No field in that is supposed to be hidden in Spouse form.
How do I set for the Passport_No in Spouse form to take the value of Passport_No in Student form?
Thanks in advance
Hope you can help me with this.
Here's the situation....
I have a form with all the student's details. I've added a command button in the form to open another form to let user to add details of spouse/children if the student is married.
From Student form -> click 'Add Spouse' -> will open Spouse form (this works ok)
I tried added records of spouse to a specific student, but when I try to see the record of spouse of the student, it doesn't come out.
I've check the tables of spouse,children and student and it seems that none of it are related as it is supposed to (they're supposed to be related using Passport_No of student).
I've tried adding a Passport_No field in the Spouse form, and added a code in the field "=[Student]![Passport_No]" and hide it from user.
When I try to run it thru the Student form, it has this '#Name?' in the Passport_No field in that is supposed to be hidden in Spouse form.
How do I set for the Passport_No in Spouse form to take the value of Passport_No in Student form?
Thanks in advance