Skip to Content
author's profile photo Former Member
Former Member

UI: Form type of the formatted search form

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2004 at 12:30 PM

    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.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.