Hi all!
I have to process events of the form that contains formatted search results. This form appears when the user press a Shift+F2 key combination. But I have found that this form can have different form types: 2000005, 2000016, etc.
Is is possible to uniquely identify forms with formatted search results? Are all forms with the form type more than 2000000 formatted search forms?
Thanks for your replies.
WBR, Anatoly.
The following might help you, it is based on observation only as I haven't had need to use it, so I can't guarantee it will work.
The table CSHS holds details of formatted searches. It is keyed on the field which triggers the formatted searches (FormID, ItemID, ColID). It has a column called "Index". It would appear that when you launch a formatted search from a field, it uses 2000000 + Index to generate the form type for that particular formatted search window.
You could probably use this fact in reverse, ie. FormUID - 2000000 gives you an Index to read CSHS with and determine what field called the formatted search.
The other item that might be of use to you is that the form titles of formatted search windows are set to the names of the formatted searches.
John.
Add a comment