Hi
I am working on a db that keeps track of parent information. The particular form i am working on has a subform with "Tab Controls" . In each tab control i have a seperate form.
Pblm1: On the main form the individuals name is entered in a field. How can i get the parents last name field (which is in a subform under one of my tabs to automatically fill in to match the last name of the child.
Pblm 2: I used a code Pat gave me:
If IsNull (Me.[Spouse_Last]) Then
Me.[Spouse_Last] = Me.Last
End If
Now this code worked great for what i asked her for but now i need to adjust it a bit. I am trying to have ACCESS automatically update a few fields (address, city, state, zip etc...) of parent 2 to match parent 1 if the married (yes/no) button is pushed.
I have tried several ways and have not been able to make it work yet
thanks ahead of time
Ricky
I am working on a db that keeps track of parent information. The particular form i am working on has a subform with "Tab Controls" . In each tab control i have a seperate form.
Pblm1: On the main form the individuals name is entered in a field. How can i get the parents last name field (which is in a subform under one of my tabs to automatically fill in to match the last name of the child.
Pblm 2: I used a code Pat gave me:
If IsNull (Me.[Spouse_Last]) Then
Me.[Spouse_Last] = Me.Last
End If
Now this code worked great for what i asked her for but now i need to adjust it a bit. I am trying to have ACCESS automatically update a few fields (address, city, state, zip etc...) of parent 2 to match parent 1 if the married (yes/no) button is pushed.
I have tried several ways and have not been able to make it work yet
thanks ahead of time
Ricky