reference to fields in a subform

reference to fields in a subform

Postby Henk_2a » Tue Mar 29, 2016 1:30 am

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
Henk_2a
 
Posts: 41
Joined: Mon Feb 15, 2016 5:12 am
Location: Nederland

Re: reference to fields in a subform

Postby admin » Thu Mar 31, 2016 8:01 am

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
admin
Site Admin
 
Posts: 3233
Joined: Mon Jun 15, 2009 9:53 am


Return to General



cron