In application studio I have a combo box with EPBinding: Transview.myRev. It is populated by a BAQ that shows the revisions for a part number (filtered from a previous text box). This works well. I have the TextField set as PartRev_RevShortDesc and the Value Field set as PartRev_RevisionNum. This saves my rev in the transview.myRev bound field.
I also want to save the rev short description at the same time. So I have tried several approaches that do not work.
I have tried using the onBlur event on the combobox to set Transview.myRevDesc to the text fields of the combo box. I tried using row-update on Transview.myRevDesc, and setting the expression to these values (none worked):
- this.getText()
- row[“PartRev_RevShortDesc”]
- this.Text
- this.SelectedRow[“PartRev_RevShortDesc”]
- myRev.TextField
- [myRev.TextField]
I don’t really need to see the text value in a separate field, I just want to store it along with the rev. Is my approach feasible? Should I take another path?
EDIT: I’m thinking I could do this with a function. I’d much rather use a simple approach like I have here, if it’s possible.
Thanks for your time!
Nate
