>Is there anything that will return the file name of the form that currently has focus? I have an on key label that runs a sort prg to give me the name of the current form so i know where the heck I am in a system I haven't worked on in a year or so. The problem is sometimes the form was copied from another and still has the original, now wrong, name.
What does
_screen.ActiveForm.Name
return?
(You first need to check if there is one)
UPDATE. I re-read the title of the question - I can not think of a solution from the top of my head.
If it's not broken, fix it until it is.
My Blog