D
DS
I'm trying to set the values on one form ApplyDiscountSelect to another
form DiscountApply, but I keepgetting an Object Error.
Dim Ctl As Control
DoCmd.Close acform,"ApplyDiscountSelect"
For Each Ctl In Forms!ApplyDiscount.Control
If Forms!ApplyDiscount.Ctl.Tag = 2 Then
Forms!ApplyDiscount.Ctl.Visible = False
ElseIf Forms!ApplyDiscount.Ctl.Tag = 3 Then
Forms!ApplyDiscount.Ctl.Visible = True
End If
Next Ctl
Any help appreciated
Thanks
DS
form DiscountApply, but I keepgetting an Object Error.
Dim Ctl As Control
DoCmd.Close acform,"ApplyDiscountSelect"
For Each Ctl In Forms!ApplyDiscount.Control
If Forms!ApplyDiscount.Ctl.Tag = 2 Then
Forms!ApplyDiscount.Ctl.Visible = False
ElseIf Forms!ApplyDiscount.Ctl.Tag = 3 Then
Forms!ApplyDiscount.Ctl.Visible = True
End If
Next Ctl
Any help appreciated
Thanks
DS