info(“windownumbers”)

The info(“windownumbers”) function returns the unique ID numbers of all open windows.


Description

This function returns the unique ID numbers of all open windows. See Window ID Numbers to learn about this topic. This will return a carriage return delimited text array with all of the window numbers. The window numbers are listed in order from the topmost window to the bottom, like this:

5
2
1
4
3

The windowinfo( function allows the target window to be specified with a window ID number instead of a title. So combining these functions, a formula can be built to, for example, display the title of the window below the current window (the 2nd window in the list).

windowinfo(val(nthline(info("windownumbers"),2)),"name") ☞ Contacts:Labels

To find out the ID numbers of all open windows belonging to a specific database, use the listwindownumbers( function. Like the info(“windownumbers”) function, this will return a carriage return delimited text array with the window numbers.

listwindownumber("Contacts")

Other functions for getting lists of window numbers include info(“datasheetwindownumbers”), info(“formwindownumbers”) and info(“procedurewindownumbers”).

See also the info(“windows”) function, which lists the names of all open windows.


See Also


History

VersionStatusNotes
10.2NewNew in this version.