On the new budget subform, when you select a staff member from the StaffSelect combo, this automatically populates the StaffID field on tblBudgetStaff.
When I added the combo box to the form I configured it via the wizard to add the StaffID number to the StaffID field on tblBudgetStaff. This works fine.
The StaffSelect combo contains the staff ID, hourly rate and name.
The BudgetRate field on the form gets populated with the hourly rate based on this being column 1 of the All Staff query - it populates this on the form when you select a staff member.
So the BudgetRate text box/field on the *form* gets populated with the rate, but the BudgetRate field in the tblBudgetStaff *table* does not get populated with the rate - and I need it to.
I think this is because there needs to be some sort of link between the BudgetRate field on the form and the BudgetRate field on the table.
The fields on the form are as follows:
BudgetStaffID (tblBudgetStaff.BudgetStaffID)
BudgetID (tblBudgetStaff.BudgetID)
StaffID (tblBudgetStaff.StaffID)
StaffSelect (row source = All Staff query)
BudgetRate (text box with record source of =[StaffSelect].[Column](1))
BudgetHours (tblBudgetStaff.BudgetHours)
Notes (tblBudgetStaff.Notes)