Get Year from search

This public forum is for user-to-user discussions of PHP Report Maker. Note that this is not support forum.

Get Year from search

Postby haemi » Wed Oct 04, 2017 7:02 pm

Hello,

I have a crosstab report. There is date field marked as Year filter. The date field itself is not marked as ext. filter. Now I need the year value as a filter for a Hyperlink.

I tried several things in the Cell_Rendered Event.

$StartYear = $this-><YEAR__"myfield">->SearchValue;

How can I access to this option value?

Thank you for any help.

Best regards
haemi
 
Posts: 29
Joined: Sat Apr 22, 2017 2:38 am

Re: Get Year from search

Postby Webmaster » Fri Oct 06, 2017 9:39 am

Try (replace <Field> with the actual field name):

$this->YEAR__<FieldName>->SelectionList
Webmaster
 
Posts: 10734
Joined: Fri Aug 06, 2004 5:59 pm

Re: Get Year from search

Postby haemi » Fri Oct 06, 2017 6:37 pm

Hello

Wonderful. It works.

Thank you.

Best regards
haemi
 
Posts: 29
Joined: Sat Apr 22, 2017 2:38 am


Return to General Discussion (PHP Report Maker)