Trying to find a way to disallow users from entering an inactive employee ID in the Time Card Entry screen. Goal is to reduce inaccurate data entry.
It appears I could disable the field forcing users to click the spyglass to open the lookup window which can be filtered to exclude inactive employees. However, forcing users to go through that lookup sequence is a punitive and inefficient. Typing the Emp ID in the primary window is much kinder.
Was hoping to look up the entry when the user tabs out of the field employee ID field and check if it's active. If the entry is not active then present a dialog message box.
Perhaps the VBA field-lost-focus trigger could call a SQL procedure or function. How would you recommend solving this issue?
GP Window: Manufacturing >> Transactions >> WIP >> Time Card Entry
------------------------------
Brad Smith
SE Retail
Fountain Inn SC
------------------------------