irvine99
21st November 2013, 11:04
can i get the value of the field in the form, and call it to report script.

Example:
when i select the date (from and to) from the form i want to display the selected value to my report.

bhushanchanda
21st November 2013, 13:10
Hi,

Yes, you can do it. You will need to add those fields in report input fields.

irvine99
22nd November 2013, 03:13
Great! thanks guru!,

i have another question.. how can i get the value from the selected date from the form to report script? i have tried to display it in message and it returns a value not a the selected date.
oh and the data type of the date from and to is UTC Date/Time

mark_h
22nd November 2013, 06:10
Did you declare the date as input variables to the report? Once that is done you should be able to add them to the header or some other layout. Assuming your version works the same as my 4c4.

bhushanchanda
22nd November 2013, 06:24
Hi,

To show the date in your message, use this:-

message(sprintf$("%u002", date_field))

Also, as Mark said, do add the date field in the report input fields.

irvine99
22nd November 2013, 06:32
thanks for the fast answer guru's :) everything is now perfect!