Info("windowname") and actual name of the form


#1

A lot of my procedures vary their behavior based on what form called them, so I use info(“windowname”) in almost every procedure. But the window name that is displayed in the drag bar, which is also the result from info(“windowname”) is not ALWAYS the actual name of the form as displayed in the sidebar.


#2

I don’t know of any way the window name could be different unless you’ve explicitly used the windowname statement to change the name of the window.

But in any case, I wouldn’t use the info("windowname") for that purpose – why not go right to the source and use info("formname")?


#3

Good idea! (of course)