I have 2 tables:
- Accounting-POs
- Accounting-POs-Items
The "Items" are each related to a PO by way of a field called "RelatedPO" which is a lookup for "Accounting-POs". In a form to add an Item to a PO (that has been selected from a gallery) The "RelatedPO" dropdown where you select the current PO from the list need to be populated with the PO selected from the gallery originally. I have tried everything and this below is the only code for the "Default" field that doesn't show any errors but also doesn't populate the field.
LookUp(Choices([@'Accounting-POs-Items'].RelatedPO),Value=POGallery.Selected.'P.O.')
What can I do to get the Master PO Item from the gallery to be selected automatically in that field...