Page 1 of 1

"Duplicate" Bound Field Names

Posted: Wed Mar 12, 2014 1:56 pm
by DaveLClarkI
Is there a problem with binding two different widgets to the same RPG field name as long as those two widgets are in two different "record formats"? For example... I have a "position to" field in the header portion of the screen which is for positioning the grid subfile based on a grid column of the same name. In my RPG program I'm using qualified data structure I/O and reference them as Screen.Field1 and Grid.Field1 so there is no problem there. In the Profound UI Designer, though, I would have to bind two different widgets to the FIELD1 name. Will Profound treat those as two different fields to be sent to RPG? ...or, will Profound see those as the same field?

Re: "Duplicate" Bound Field Names

Posted: Mon Mar 17, 2014 10:15 am
by David
There is no problem in doing as described, as far as I'm aware.

The field binding will create them as separate fields in the DSPF, one in each record format. The rendering process is aware of individual record formats and will treat them separately there as well.

Re: "Duplicate" Bound Field Names

Posted: Mon Mar 17, 2014 11:53 am
by DaveLClarkI
Thank you.