Hey there,
does anybody know a possibility to copy the filter of an intended data item to a global record variable in the OnPreReport Trigger? The GETFILTERS is not very helpful, I think, because it doesn't return a "real" filter string. A possibility is to use the getfilter, but then i have to hard code the field names and i want to code a function, that i can use in any report for any data item.
Any Ideas?
Thanx in advance
tobias
0
Comments
Sorry for the spam :-)
"Use this function to copy a record from a C/SIDE table. All filters, marks, and keys are included in the copy."
If it was hard to write, it should be hard to understand."
I wanted the user not to bother with too much input tabs.
I added a dummy table as first table where the filters can be set by the customer.
The first statement in OnAfterGetRecord is CurrReport.break as it is only used to get the filters.
In the OnPreDataItem of each further table I used copyfilters or did it with setfilter/getfilter.
Dneal