View Full Version : Current form?


legendv
03-28-2002, 05:45 AM
Anyone know how to check and see what form is current in VB? Such as...
if object.value = true and "someform" is current then

bla bla bla

JMARZ
03-28-2002, 06:02 AM
Try this:
Application.CurrentObjectName

legendv
03-28-2002, 09:29 AM
Thanks, I'll try it.

legendv
03-28-2002, 09:50 AM
Tried it, and didn't work. Any other suggestions?

Rich
03-28-2002, 11:20 AM
Try Screen.ActiveForm