Newbie question...
How do I facilitate updating the records with a combobox? I've attached example of my attempt.
Simple example attached, two tables
tblEmployees
ID
Lastname
DeptID
tblDepartments
DeptID
DeptName
DeptCode
I want to have a Split Form showing all employees, with the ability to select which Department should be assigned to their record from a combobox containing all possible Department Names.
I've read posts on the Evils of Lookup fields, and have attempted to facilitate this without them by including a combobox field on the example form. Played with AfterUpdate event variations but still am not accomplishing what I"m guessing is a simple task.
Set up the form to have a combo box which includes Department Names, bound to hidden first column containing DeptID.
Can someone point me in the right direction please? clearly I'm missing something.
How do I facilitate updating the records with a combobox? I've attached example of my attempt.
Simple example attached, two tables
tblEmployees
ID
Lastname
DeptID
tblDepartments
DeptID
DeptName
DeptCode
I want to have a Split Form showing all employees, with the ability to select which Department should be assigned to their record from a combobox containing all possible Department Names.
I've read posts on the Evils of Lookup fields, and have attempted to facilitate this without them by including a combobox field on the example form. Played with AfterUpdate event variations but still am not accomplishing what I"m guessing is a simple task.
Set up the form to have a combo box which includes Department Names, bound to hidden first column containing DeptID.
Can someone point me in the right direction please? clearly I'm missing something.