App Studio-Combo from BAQ selected record issue

How can we reference a column from a selected combobox record?

For reference, this combo is being driven from a DataView populated from a BAQ.
image

We want to collect the LaborHed_LaborHedSeq column from this combo that is not the primary.

I’ve tried reading the object from the combo’s OnBlur event leading into a row-update.

Using a Value “{actionResult.LaborHed_LaborHedSeq}” and “{searchResult.LaborHed_LaborHedSeq}” both result in an undefined result.

image

image

searchResult has the same affect.

To clarify, you’re wanting to pull data from the selected option - and it is not the Value that is stored in the EpBinding or the Display Text?

Unless somebody is aware of a native way to do this, you might have to retrieve your third piece of data from the BAQ - calling it with a Where clause to specify which row you need.
Or you could execute your BAQ and store it in a data view, then have the combo refer to the view to populate its data… I’ve never used this method, but I see it in combos in the some of the base screens.

1 Like