Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Report and find data

edited November 2003 in General
Hi,

I created a query with a search criteria and build my report with this
query.
When I clic on the magnifying glass, I have a new window with the text :
"show all data where the is equal to" (with =
the name of the field). How can I replace by a better text
?

Thank you

--
Arnaud

Comments

  • edited November 2003
    Hi Arnaud,

    It is possible to customize the Autosearch dialog to show anything you need.
    For an example of creating a custom AutoSearch dialog, see the example
    located in the \RBuilder\Demos\5. AutoSearch\4. Custom AutoSearch Dialog\...
    directory.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2003
    "Nico Cizik (Digital Metaphors)" avait énoncé :

    Ok.
    But now if I want to do the same think in the EndUser module, how can I
    do that ?

    --
    Arnaud
  • edited November 2003
    Hi Arnaud,

    If you register a custom AutoSearch dialog as you do in the example, your
    enduser solution will use this dialog as well when you run it.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2003
    Ce lundi, "Nico Cizik (Digital Metaphors)" nous a écrit :

    I don't know if I explain my problem correctly :-(
    I want to make a program like \RBuilder\Demos\3. EndUser\1. Report
    Explorer. When the end user want to do a report with a search query,
    the field name in the AutoSearchDialog is the same like the table name.
    How can he replace this name by an other ? (he don't want to see "show
    all data where is equal to", but "Show all data where
    is equal to").

    Thank you (and sorry for my english :-(

    --
    Arnaud
  • edited November 2003
    Hi Arnaud,

    The only way to change what the AutoSearch dialog displays is to create a
    custom AutoSearch Dialog. You will need to start by creating a descendant
    to the TppAutoSearchDialog being sure to implement all the necessary
    methods. Then using this descendent, you will need to redesign your own
    panel to place on top of the dialog, much like the AutoSearch Panels already
    created in the ppASCtrl.pas file. This way you can show any text you want
    on the AutoSearch dialog. Check out the TppSimpleSearchPanel class for an
    example of what you need to create. An exact example of what I just
    explained is available in the \RBuilder\Demos\5. AutoSearch\4. Custom
    AutoSearch Dialog\... directory. (See the MyAsDlg.pas for an example of the
    descendant you will need to create and register at the bottom). Once you
    get this created, simply include this file in your project and the dialog
    will appear when you try to use the AutoSearch feature.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2003
    Dans son message précédent, "Nico Cizik (Digital Metaphors)" a écrit :

    Ok, thank you. I had not understood that one could redefine just
    certain part of the AutoSearch window.

    --
    Arnaud
This discussion has been closed.