info(“windowname”)

The info(“windowname”) function returns the name of the current window.


Description

This function returns the name of the current window.

This example switches to the Appointments database and selects today’s appointments. When this is finished it switches back to the original window, right back where it started.

local wasWindow
wasWindow=info("windowname")
openfile "Appointments"
select When=today()
window wasWindow

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0