Opening one form with multiple buttons

J

Josh Sharpe

I have a New Parent Form that will open for 4 buttons, Mother, Father, Legal
Guardian 1 & 2. The problem is that the student has 4 ID fields and when
the ID is saved it has to be saved in the appropriate ID (father can't be
stored in mother's ID etc.)

So in the save button of the parent field i have an onClick event:

Forms!frmNewStudent!FatherID = Me!CommunityID

Where it says Father has to change depending on which button was clicked
"New Father" "New Mother" etc....

How can i change that??

Thanx
-Josh
 
Top