Hi all,
I have a form used for a couple of parameter qrys, what I'm trying to do, is hide some objects on the form, but on the On Click of a button, I'd like to make a few more objects visible via VBA.
I've tried;
me.txtDate visible = true
and
forms!frmReportParameters!txtDate visible = true
But when ever I run it, it comes back and tells me "Invalid use of property". Any help? I thought you could toggle the visibility property this way..?
Thanks all.
I have a form used for a couple of parameter qrys, what I'm trying to do, is hide some objects on the form, but on the On Click of a button, I'd like to make a few more objects visible via VBA.
I've tried;
me.txtDate visible = true
and
forms!frmReportParameters!txtDate visible = true
But when ever I run it, it comes back and tells me "Invalid use of property". Any help? I thought you could toggle the visibility property this way..?
Thanks all.