I have a combo box that has epibinding to a column called CheckHed.PurposeCode_c, its a dropdown list from a dataview populated by a BAQ, its supposed to show the CodeDesc or a CodeID saved behind it. Whenever I load the AP Payment Entry, its blank and only shows the value after i’ve clicked on the combobox.
Since it’s pulling from a dataview, you have to populate the dataview when the page loads for it to show anything. If you set the dataview up with the wizard there should be a FilterPurposeCode_Get event that you can just call that event after getByID or something.
I see, the problem i have now is that the BAQ has a parameter and its in CheckHed so which is only after choosing a group > clicking on a payment. I’ve tried to run the BAQ after checkhed but its still empty and i dont want it to slide out and ask for a parameter when the form loads on the landing page.
If you can modify (or copy) your BAQ, what you can do is remove the parameter and expose the field you’re filtering with the parameter into the results (e.g. instead of passing CheckNum as a parameter to filter CheckHed, add CheckHed_CheckNum as a result). In application studio, you can go into the grid’s BAQ options and add a where clause. This thread has some information on getting that setup.
Another option, if you can’t remove the parameter, is to use a BAQ event widget. You’d have to run it after the event that populates CheckHed but it lets you pass in parameters without seeing the slide out. The BAQ and BAQ options need cleared from the grid view when doing this (leaving just the Ep Binding) since the data provider would now be your custom event.
I’m not certain how the EpBinding Text Column is supposed to work but as intended I would think that you need to bind it to the same text field setting for display. As in UDCodes_CodeDesc, instead of just CodeDesc.
I’m not sure how this binding competes with the value in your CheckHed.PurposeCode_c field binding though. I suspect that’s trying to match to UDCodes_CodeID in your value field setting.
You could try changing you ValueField to also reference UDCodes_CodeDesc and that might fix your problem