S
sandog
Is there a way that I can reference a form feild through a module?
I used this in the class objects code for the Form and it worked fine?
Label373.Visible = True
Label377.Visible = True
When I add the code to the Module and compile it I get an error,
"invalid qualifier"
I tried a few different things,
1. tried initializing the variables
Dim Label373 As String
Dim Label377 As String
2. tried calling out the Form and the field.
Forms(Form_CattHBApp).Conrols(Label373.Visible) = True
Forms(Form_CattHBApp).Conrols(Label377.Visible) = True
I still get the error "invalid qualifier" when i tried this.
Stil can't get it to work.
Help please....
thanks
I used this in the class objects code for the Form and it worked fine?
Label373.Visible = True
Label377.Visible = True
When I add the code to the Module and compile it I get an error,
"invalid qualifier"
I tried a few different things,
1. tried initializing the variables
Dim Label373 As String
Dim Label377 As String
2. tried calling out the Form and the field.
Forms(Form_CattHBApp).Conrols(Label373.Visible) = True
Forms(Form_CattHBApp).Conrols(Label377.Visible) = True
I still get the error "invalid qualifier" when i tried this.
Stil can't get it to work.
Help please....
thanks