So, I have a main table, in this main table called tasks, in this main table I have a column named Employee, that is a LookUp type column, doing a lookup to a table called Employees, in this table I store, EmployeeName and other information on the employee.
Now, I have a combo box that im looking to do a patch with, this combo box need to be able to set its default selected item, based on a label, so for example if the label says "John Doe", I need the combo box to select the record for John Doe, I currently have this on the combo box
Items: Choices([@tasks].Employee)
DisplayFields: Value
DefaultSelectedItems: LookUp(employees, lblEmployee.Text = EmployeeName)
But it does not seem to select anything for its default, is there a way to do this?