G
Guest
My main form [frm1 Client] has a subform [Jobfrm] which has a subform
[Laborfrm].
After the following code worked forever, I now get the can't hide focused
form message. The code is a click event on a button on the [Laborfrm] and
intended to hide it.
The code:
Forms![frm1 Client].Form![HoldFocus].SetFocus
Forms![frm1 Client].Form![Jobfrm].Form![Laborfrm].Visible = False
(also used me.visible=false)
Until this morning the code worked. I am working on [Laborfrm] but cannot
see what I have done that would cause this. It seems simple code and DID
work; why not now?
I have tried recreating the dbase clean as if it were corrupted, linking
tables and importing the rest, but the problem remains.
Can anyone help, please?
[Laborfrm].
After the following code worked forever, I now get the can't hide focused
form message. The code is a click event on a button on the [Laborfrm] and
intended to hide it.
The code:
Forms![frm1 Client].Form![HoldFocus].SetFocus
Forms![frm1 Client].Form![Jobfrm].Form![Laborfrm].Visible = False
(also used me.visible=false)
Until this morning the code worked. I am working on [Laborfrm] but cannot
see what I have done that would cause this. It seems simple code and DID
work; why not now?
I have tried recreating the dbase clean as if it were corrupted, linking
tables and importing the rest, but the problem remains.
Can anyone help, please?