C
ctyrrell
I have a form that is usually hidden, but when I open it not hidden, I
want to do some special formatting, which would be a waste of time when
the form is hidden.
I though that I could check to see if the form was visible with the
statement:
if me.visible = true then... formatting code
however, even when the form is opened visibly, me.visible is returning
false.
I have this code in the Form_Load event. I've also tried the
Form_Activate & Form_Current event routines, to no avail. Originally I
was testing with just 'if me.visible then...' but when that didn't
work, I though maybe being more explicit was the issue.
Does anyone know the correct way for a form's code to check if the form
is visible? By the way, I am using Access 2000, Windows XP.
Thanks,
Christine
want to do some special formatting, which would be a waste of time when
the form is hidden.
I though that I could check to see if the form was visible with the
statement:
if me.visible = true then... formatting code
however, even when the form is opened visibly, me.visible is returning
false.
I have this code in the Form_Load event. I've also tried the
Form_Activate & Form_Current event routines, to no avail. Originally I
was testing with just 'if me.visible then...' but when that didn't
work, I though maybe being more explicit was the issue.
Does anyone know the correct way for a form's code to check if the form
is visible? By the way, I am using Access 2000, Windows XP.
Thanks,
Christine