Any suggestion on finding if the user have two windows open with the same window title?
The WindowNames function will return a list of all open windows. That would seem the first step. In FileMaker 16:
UniqueValues( WindowNames ) = WindowNames
would only be true if no windows with duplicate names are open.
FilterValues could be used with such a list to search for specific windows by name. ValueCount on the resulting sublist would then tell you if there is more than one isntance of a specific name.
Here is custom function, FileMaker Custom Function:DupesInList ( ValueList )
so you can put WindowNames for the parameter.
Retrieving data ...