TppAutoSearchField - How to extend/modify
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
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
This discussion has been closed.
Comments
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
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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
http://www.digital-metaphors.com
info@digital-metaphors.com