Pegasus101
IS-IT--Management
I am trying to get something working and would appreciate some help.
Let's say I have 2 tables with a Join;
Employee table
EmployeeIDPK
EmployeeName
DepartmentID(FK)
Department Table
DepartmentID(PK)
DepartmentName
The List table will show the Employee details, including Department Name.
When the 'Edit' button next to the Employee is clicked, the Edit page will open up the Employee Details, including the dropdown with the correct Department Selected. This Department value may be altered by selecting another Department and Submitting.
I cannot get the code right to show the Edit page to show the Dropdown with the right department selected or anything further such as being able to change departments.
I would appreciate help on this. Let me know if you want clarification on any of the points or any more info.
Many thanks.
R
Let's say I have 2 tables with a Join;
Employee table
EmployeeIDPK
EmployeeName
DepartmentID(FK)
Department Table
DepartmentID(PK)
DepartmentName
The List table will show the Employee details, including Department Name.
When the 'Edit' button next to the Employee is clicked, the Edit page will open up the Employee Details, including the dropdown with the correct Department Selected. This Department value may be altered by selecting another Department and Submitting.
I cannot get the code right to show the Edit page to show the Dropdown with the right department selected or anything further such as being able to change departments.
I would appreciate help on this. Let me know if you want clarification on any of the points or any more info.
Many thanks.
R