Hi Rob,
My findings with the new file are as follows:
1. During Editing Mode, If a user mistakenly select a textbox (for any Date), could not switch to any other textbox unless the value required is entered.
2. Once the user is done with editing and fires up the Update, it calls up the "UformUpdateErrorMsg" for all the sheets. (With my little knowledge I could not figure out how).
Edit: uppsssss, I got it: sFind = Me.LBoxOfEmpNums.Text <-- should be sFind = Me.LBoxOfEmpNums.Value (your testing me right?)
3. The On Error Resume next <--- I did not bother to check out this, it was on the original code.
4. Adding new employee number - You are correct, so that’s fine.
5. I am trying to include the search/find function, say for example that the datas are huge and the need to search is required. Below is what I am trying to do. (again it’s not done correctly / not working at all).
Note: I have to show you the code in the old format.
The search/find is added in the main form at the top right side with “Find button”, Label and TextBox for entering what to find.
Say user entered “passport number” and press find, the code should look for the entered value then if found the corresponding Employee Number in the listbox should be selected automatically and of course displays the information on the useform.
I know you are tired, coz the changes you made are massively huge, and could not find the way how to thank you enough.
Thanks and best regards,
Bong
EDIT2: Testing the new code I found another one (which I think another test for me):
Where it should
Bookmarks