iaOpenToDesign at runtime
Hi!
Is possible when global setting is:
ppReportExplorer1.ItemAction := iaOpenToDesign;
that some reports (which has edited SQL definition, so it doesn't use
SearchForm) can be changed (to make new search values), without
reprogramming the exe code?
If Not, what is the most elegant way to do that? to make all reports work?
Regards
Benjamin
The difference between theory and practice is that in theory there is no
difference between theory and practice, but in practice there is....
Is possible when global setting is:
ppReportExplorer1.ItemAction := iaOpenToDesign;
that some reports (which has edited SQL definition, so it doesn't use
SearchForm) can be changed (to make new search values), without
reprogramming the exe code?
If Not, what is the most elegant way to do that? to make all reports work?
Regards
Benjamin
The difference between theory and practice is that in theory there is no
difference between theory and practice, but in practice there is....
This discussion has been closed.
Comments
The example below shows how to write code that uses Report.AutoSearchFields
with EditedSQL.
http://www.digital-metaphors.com/tips/EditSQLAndSearchProj.dpr
In the example, the autosearch field is created using RAP code. The
Report.OnGetAutoSearchValues event-handler is implemented in Delphi code.
You could create RAP pass-thru function that contained this code and then
call it from the RAP Report.OnGetAutoSearchValue event.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
THX!
;-)
Sorry, here is the correct link
http://www.digital-metaphors.com/tips/EditSQLAndSearch.zip
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com