I don’t see that column available in the Customer DataSet. At least when I go to EpiBindings, it does not have anything available like CustIC. Does this have to be done through code?
BTW: Thanks for that quick response!
I’ve just sanity-checked, and oddly CustIC is part of the DataSet in Customer Display but not Customer Tracker. So sorry to lead you astray.
I wonder if the simplest solution in that case is to add an EpiCombo control, bind that to the field in the Customer table and retrieve the description to display. If that doesn’t work then you might have to fall back on a coded adapter way of doing it, because you CAN get to CustIC through the Customer Adapter BO.
Is there some code snippet you might be able to provide or point me in the direction to find the information myself on how to do this via code? My sanity check has checked out awhile ago!
I looked at the “Customer Display” screen and sure enough, there is a DataView called “CustIC” that has the real field value I need, “ICCodeDescription”. So I’m guessing I have to somehow add this data view to the oTrans adapter? Thanks again!
You can call it from InitializeCustomCode, and I think you may need to manually add an Assembly Reference to Adapters.CustomerAdapter. When you’ve closed and opened the form, you should find there’s the DataView you want. Whether it contains the data you want depends on whether the form is keeping that DataSet populated and in sync - it would feel like overkill to have to do it deliberately each time just for one field.
Well that got me very close! But as you suspected, the data is not being synced when changing records. What event should I hook in order to retrieve the proper data? Again…so close. Thank you!!!