Forums › Forums › SIMPOL Programming › access to the quickreport filter window
Tagged: filter GUI for reports
- This topic has 15 replies, 2 voices, and was last updated 9 years, 7 months ago by
Michael.
- AuthorPosts
- January 9, 2017 at 6:09 pm #3452
Michael
KeymasterHi John,
This is more a documentation issue than anything else. The item you are looking for is in commonreportgui.sml. Here is the definition:
function dofilter(report1 report, type(wxdialogparent) w, array tables, string filter, \ string newclause, function okhandler, boolean allowtablechange=.true, \ boolean showjoinbutton=.true, string deftablename, \ boolean iscalculation=.false, string asname, boolean ismodify=.false, \ wxform mainform, string errmsgtitle=sCMNERRMSGTITLE, type(*) ref, \ type(dataform1) form, \ string caption="Superbase NG Quick Report Filter Definition") \ information "[simpol::return::boolean]" exportThis function is used for both the filter and the calculation code in the update. I haven’t had the time to document the use of this for out of house, but you should be able to get it to do what you want.
The okhandler needs to be a function with the following prototype:
function myfilterok(commonfilterinfo finfo, wxform form)
The item you are looking for is form!tbFilter.
I hope that helps. I really don’t have the time to document this in detail right now.
Ciao, Neil
- AuthorPosts
- You must be logged in to reply to this topic.