I have an form with an subform called "Forstasidanaktuellt underformulär".
I want that subform to hide if i dont got anything to show. (if no data in subform then you cant see the subform).
I have tried this from an thread in this sitebut it doesnt work (Select one field in each of the subforms that need to be populated for you to want it to be visible and enter in the OnCurrent event:
If IsNull(SelectedFieldName) Then
Me.SubForm1Name.Visible = False
Else
Me.SubForm1Name.Visible = True
End if
)
Please help me!
I want that subform to hide if i dont got anything to show. (if no data in subform then you cant see the subform).
I have tried this from an thread in this sitebut it doesnt work (Select one field in each of the subforms that need to be populated for you to want it to be visible and enter in the OnCurrent event:
If IsNull(SelectedFieldName) Then
Me.SubForm1Name.Visible = False
Else
Me.SubForm1Name.Visible = True
End if
)
Please help me!