Hi. I have what might be a simple solution but I just cannot get my head around it.
I have a dropdown list (DocDropdown) which displays doctors names. The Items property is:
SortByColumns(
JHB_Doctor_List.name1;
"field_1";
SortOrder.Ascending
)
Because there is the possibility that there might be more than one doctor with the same name, how do I get the record ID from DocDropdown.Selected.name1?
I need to use the record ID to lookup Practice Number etc.
At the moment I am looking up using the name but that returns the first match and is inaccurate.
I cannot use dependent dropdowns as the data is not clean and there are a lot of records with empty fields.