Solved Subform not visible in Mainform (1 Viewer)

silentwolf

Active member
Local time
Yesterday, 19:19
Joined
Jun 12, 2009
Messages
575
Hi guys,

for some reason I can not see my subform anymore in the mainform.
Property is set to visible = true

on the property Sheet.

I got two subforms on my form and updated the second subform on Load Event to hide some columns in that subform.

However now I must of done something to hide the first subform from the mainform but cant seam to work out where I could further look where the problem
might be.

On the second Subform is only this code so there can not be the problem-
Code:
Private Sub Form_Load()
    Me!CustomerID.ColumnHidden = True
    Me!CustGroupID.ColumnHidden = True
End Sub

Has someone an idea where I could look for the problem?

Thanks
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Yesterday, 21:19
Joined
Feb 28, 2001
Messages
27,236
Look up key phrase .BringToFront which changes what is called the z-order of a form. It may be that for an unknown reason, your sub-form's z-order is lower than the parent so it is beneath it on the "stacked" display.
 

silentwolf

Active member
Local time
Yesterday, 19:19
Joined
Jun 12, 2009
Messages
575
Hi Doc,

Thanks for that info!
But what I did is deleted the subform and pulled it back in to the form and it worked again.
Well easy enough pff..

But good Info and will keep that in mind if those kind of things would happen again.

Cheers
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 10:19
Joined
May 7, 2009
Messages
19,246
can you see the "subform" when in Design view?
 

silentwolf

Active member
Local time
Yesterday, 19:19
Joined
Jun 12, 2009
Messages
575
Sorry Arnelgp did not get notification for your question.

yes I did see it in design view.
 

Users who are viewing this thread

Top Bottom