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

TppAutoSearchField - How to extend/modify

edited July 2003 in End User
Hi,

While RB is a very powrfull tool for creating reports, it is very poor in
term of user interface when you define AutoSearchField in a end user
solution.
To improve this part of RB, I am deviloping and registering my
AutoSearchDialog that can improve something but to get the best I need to
have TppAutoSearchFields with some additional property and remove some
others.
In practical way, I don't need:

1. The SearchExpression
2. The SearchOperator

I instead need:

1. A new set of property where to define the

Comments

  • edited July 2003
    Sorry but I accidentally pressed the send button.

    While RB is a very powrfull tool for creating reports, it is very poor in
    term of user interface when you define AutoSearchField in a end user
    solution.
    To improve this part of RB, I am deviloping and registering my
    AutoSearchDialog that can improve something but to get the best I need to
    have TppAutoSearchFields with some additional property and remove some
    others.
    In practical way, I don't need:

    1. The SearchExpression
    2. The SearchOperator

    Instead I need:

    1. A new set of properties that must be possible to populate in the
    QueryDesigner
    2. The possibility to set the SQLString for the AutoSearchField

    Is it possible to do what I would like to do?
    How can I define a TMyAutoSearchField and manage it in the QueryDesigner?

    Thanks
    Antonio
  • edited July 2003
    Autosearch ripples through the source of RB. Perform a search on
    TppAutosearchField in our source and you'll see it is used in different
    places. If you need to replace the autosearch field class, the easiest way
    is going to be to modify the source of TppAutosearchField in ppASField.pas
    in order to add your new class members. If you want to replace the query
    designer to add new features then see this demo:
    http://www.digital-metaphors.com/tips/ReplaceQueryTools.zip


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited July 2003

  • edited July 2003
    Perhaps you could use the new custom report parameters to pass information
    along with a report and then use it in the event handlers of the report (ie.
    RAP code can use parameters). Custom parameters will let you define pretty
    much anything you want to. You'll need RB 7.02 for this feature.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.