Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

reference to fields in a subform

Post Reply
Henk_2a
Posts: 52
Joined: Sun Feb 14, 2016 8:42 pm
Location: Nederland

reference to fields in a subform

Unread post 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
admin
Site Admin
Posts: 2784
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 3 times

Re: reference to fields in a subform

Unread post 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
Post Reply