I have a form with several public methods.
When I open the form as following, intellisense doesn't show the list of methods.
But if I add a class module and do the same, after instantiating the class, I have the list of all methods in inellisense.
Isn't a form module just like a class module? Shouldn't both behave the same?
Or am I missing some steps here?
Thanks for any kind of guidance/advice.
Code:
Private m_PK As Long
Public Property Get PK() As Long
PK = m_PK
End Property
Public Property Let PK(ByVal NewValue As Long)
m_PK = NewValue
End Property
When I open the form as following, intellisense doesn't show the list of methods.
Code:
DoCmd.OpenForm "frm"
With Forms("frm")
.
End With
But if I add a class module and do the same, after instantiating the class, I have the list of all methods in inellisense.
Isn't a form module just like a class module? Shouldn't both behave the same?
Or am I missing some steps here?
Thanks for any kind of guidance/advice.