Hi
I would like to visualize som controls according to a form being opend as a main form or a sub form.
my code rases an error if the form is a mainForm:
Thank You!
I would like to visualize som controls according to a form being opend as a main form or a sub form.
my code rases an error if the form is a mainForm:
Code:
Private Sub Form_Load()
If Len(Nz(Me.Parent, ""))=0 Then 'Some Code...
Thank You!