I have many form with frame, it also have a condition to test whether the frame to be hidden or unhide, so instead of repeating the code in every form, I created a module like this -
If MAS00 = 1 Then
FrameMas00.Visi ble = True
ElseIf MAS00 = 0 Then
FrameMas00.Visi ble = False
End If
I call the module in the form like this -
modframe
It return me an error as it does not know this frame is belong to which form, How should I cater for all forms ?
If MAS00 = 1 Then
FrameMas00.Visi ble = True
ElseIf MAS00 = 0 Then
FrameMas00.Visi ble = False
End If
I call the module in the form like this -
modframe
It return me an error as it does not know this frame is belong to which form, How should I cater for all forms ?
Comment