Dear All,
I have a main form with a subform, both in Datasheet view
I use the little + sign to expand the main form in order to see the subform
If a control on my main form has a specific value I would like the subform to hide certain fields (datasheet view!) when expanded
I tried using
onOpen event
if me.parent!control="something" then
me.field.visible=false
end if
but this does not work
Could you please advise?
Many thanks
I have a main form with a subform, both in Datasheet view
I use the little + sign to expand the main form in order to see the subform
If a control on my main form has a specific value I would like the subform to hide certain fields (datasheet view!) when expanded
I tried using
onOpen event
if me.parent!control="something" then
me.field.visible=false
end if
but this does not work
Could you please advise?
Many thanks