Step 10. Review the Web Page
No changes are required for this step.
If you look carefully at the web page, you will see some imperfections. From a training point of view, they demonstrate some important points about designing and handling variables in a web page.
- On the Details tab, the Department Code field initially contains 100 which is the first entry in the Departments dropdown. You could avoid this by using a different field for department code in the Departments dropdown. This would require changes to the LoadDepartments routine and the Departments.ItemGotSelection event routine.
- All fields on the Details tab sheet are input capable. The Employee ID field could be set to ReadOnly = True, so that the key field cannot be changed.