I have a form to modify pre-existing data employee data in an SQL table. Because LF Forms does not allow the values part of a dropdown to be loaded from SQL, and only allowing the list items to be loaded, I have to maintain the selected list items ID in another field. The form lookup rules loads the dropdown first, then the loads the SQL stored ID for the current selected list item, the ID is then used to get the name for the list item, when located, the name is used to select the matching list item in the dropdown.
This works 98% of the time, however 2% of the time the dropdown is not fully loaded, and the match fails because the list item is not available in the dropdown “yet!”.
Is there some method of determining the status of a dropdown load from SQL, “Is the dropdown Load Complete”.
Job Title Dropdown: Office Manager
val_title: Office Manager
val_id_title: 27
Content for dropdown is:
Desktop Support
Administrative Assistant
Office Manager
Seasonal
IT Director
Lobby Greater
Supervisor
SQL Table Data:
id, name, department, id_type
4, Desktop Support, 12, 24
3, Administrative Assistant, 22, 24
27, Office Manager, 22, 24
15, Seasonal, 34, 24
35, IT Director, 12, 24
66, Lobby Greater, 34, 24
12, Supervisor, 22, 24