M
mattc66 via AccessMonster.com
I am wanting to change the LinkChild and LinkMaster fields with a check box.
The if False is working, but when I check the box if True it doesn't change
the links. Any ideas on what I am doing wrong?
If ckLinkPF = True Then
Me.sfrmICSTOCK.LinkChildFields = "PROD_FAM"
Me.sfrmICSTOCK.LinkMasterFields = "cboProdFam"
End If
If chkLinkPF = False Then
Me.sfrmICSTOCK.LinkChildFields = ""
Me.sfrmICSTOCK.LinkMasterFields = ""
End If
The if False is working, but when I check the box if True it doesn't change
the links. Any ideas on what I am doing wrong?
If ckLinkPF = True Then
Me.sfrmICSTOCK.LinkChildFields = "PROD_FAM"
Me.sfrmICSTOCK.LinkMasterFields = "cboProdFam"
End If
If chkLinkPF = False Then
Me.sfrmICSTOCK.LinkChildFields = ""
Me.sfrmICSTOCK.LinkMasterFields = ""
End If