How to print search criteria in the report [URGENT]

Hi guys,

I’m trying to print search criteria on top of the report, my target is how to get the search criteria variables, so I can print it manually,
please help.
thanks in advance…
ahmer

Re: How to print search criteria in the report [URGENT]

Store the values yourself using JS on a onchange/onblur event and inject them as needed.

Regards,
Scott.

Re: How to print search criteria in the report [URGENT]

Thanks Martin,

I’m using grid with search, after that I want to generate pdf or print option or xls, but I want to print the filter as well, and I didn’t find the onchange option in grid. I’m new with SC.

thanks

Re: How to print search criteria in the report [URGENT]

It has been a while, but you may be able to use on of the events in GRID/SEARCH/Events (instead of GRID/Events) to perform this (onRefresh;onValidate)

Regards,
Scott.

Re: How to print search criteria in the report [URGENT]

Thanks Mr. Scott;

I got it, but new problem, I’ve date in search criteria, which is from and to how can I get the to date variable

thanks again…

Re: How to print search criteria in the report [URGENT]

I also had similar problem if you are talking about the search field where the date fields are ‘between two values’

Ex:

  From:

Date
To : How to get this value??

I could’t figure out how to get the ‘date to’ value also, so instead i used a control form with two date fields and i passed those fields as parameter to grid to do the filtering and also used to show (in the header) which period is the search for…


Update:

The answer can be found from here:
http://www.scriptcase.net/forum_en_us/index.php?topic=2502.msg7580#msg7580