Page 1 of 1

reference to fields in a subform

Posted: Mon Mar 28, 2016 6:00 pm
by Henk_2a
Hello guys,
I am trying to build a report based on a record in a subform. In the PHP I made for that I made the current form the criteria-from of the php.
I can reference #record_id#, but #subform_record_id# gives no value.
I can reference fields from the main form (by hashcodes), but reference to fields in the subform with hash doesnt work.
Any idea how I, most important, can detect the value of the id of the record in the subform?
Thanks

Re: reference to fields in a subform

Posted: Thu Mar 31, 2016 12:31 am
by admin
Henk_2a,

I think the best way is to have a hidden field on the main criteria Form that gets updated from the subform, and use that.

Steven