I have a main form with a subform. In the subform I want to add the number 1 to a field if the data in another field = "Primary" I wrote the following in the After Update event of the first field but it doesn't seem to work. Any help would be appreicated. Thanks
Private Sub AssocType_AfterUpdate()
If Me.[ContractAssociates subform]![AssocType] = "Primary" Then
Me.[ContractAssociates subform]![PctPmt] = 1
End If
End Sub
What am i missing here?
Private Sub AssocType_AfterUpdate()
If Me.[ContractAssociates subform]![AssocType] = "Primary" Then
Me.[ContractAssociates subform]![PctPmt] = 1
End If
End Sub
What am i missing here?