G
Guest
Hello,
How can I check If a specific form is active using code?
Thank you
How can I check If a specific form is active using code?
Thank you
Thank you,
I am trying to use it, but i get a 'type mismatch' error.
I want to check if a form called 'receiptsF' is active, so i wrote:
If (screen.ActiveForm([forms]![receiptsF])) Then ...
dshemesh said:Thank you,
I am trying to use it, but i get a 'type mismatch' error.
I want to check if a form called 'receiptsF' is active, so i wrote:
If (screen.ActiveForm([forms]![receiptsF])) Then ...
I tried looking in Qbuilt, but didn't find an answer there.
Does anybody know the exact syntax?
Thanks
'69 Camaro said:Hi.
Use Screen.ActiveForm.Name to determine the name of the active form.
HTH.
Gunny
See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)