H
Harmannus
Hallo,
Is there a way to show the text "No data" if a subform has no records/is
empty? I have a subform on my switchboard with one field in it. That should
be replaces with the text "No data" if there are no records. Either replace
the normal field with a text no data or make the subform invinsible if no
data and make a label no data visible.
Can this be done?
Regards,
Harmannus
Tried the below in the on open event of the subform but no effect ;-)
IIf not isnull(DCount("*", "qselSubform") then
'show data
else
me.subformfield="No data"
end if
Is there a way to show the text "No data" if a subform has no records/is
empty? I have a subform on my switchboard with one field in it. That should
be replaces with the text "No data" if there are no records. Either replace
the normal field with a text no data or make the subform invinsible if no
data and make a label no data visible.
Can this be done?
Regards,
Harmannus
Tried the below in the on open event of the subform but no effect ;-)
IIf not isnull(DCount("*", "qselSubform") then
'show data
else
me.subformfield="No data"
end if