C
chopper57 via AccessMonster.com
I thought I had this wiped once but what happens is that it only updates the
first entry, after that I have to close the MainForm and reopen for the
sfrm_EmployeeHours to update.
I have a three level form, and a Popup for entering new employee names and
data.
frm_MainForm
sfrm_DailyReport
sfrm_EmplyoeeHours (datasheet and a Name field with a lookup/dropdown list)
frm_MainForm contains sfrm_DailyReport
sfrm_DailyReport contains sfrm_EmployeeHours
sfrm_EmployeeHours is a datasheet form for selecting personnel names that
worked. It’s record source is tbl_EmployeeTime with a lookup/dropdownlist for
selecting Names from tbl_EmployeeData
The Popup Form is for adding new personnel to tbl_EmployeeData
The problem is when I need to add a new employee I open the popup, add the
name, close the popup and the name will show in the lookup/dropdownlist in
sfrm_EmployeeHours, but this only happens once, if I need to add another name
I have to close and reopen the main form for it to show in the list.
I had another Post called : Requery 2nd Subform
The advice I received I thought fixed the problem but I didn’t try more then
one entry at the time.
We tried to requery the subform on the close event of the popup but it
doesn’t fix the problem.
Forms!frm_MainForm!sfrm_DailyReports.Form!sfrm_EmployeeHours.Form.Requery
Appreciate any help and will keep searching the forum.
first entry, after that I have to close the MainForm and reopen for the
sfrm_EmployeeHours to update.
I have a three level form, and a Popup for entering new employee names and
data.
frm_MainForm
sfrm_DailyReport
sfrm_EmplyoeeHours (datasheet and a Name field with a lookup/dropdown list)
frm_MainForm contains sfrm_DailyReport
sfrm_DailyReport contains sfrm_EmployeeHours
sfrm_EmployeeHours is a datasheet form for selecting personnel names that
worked. It’s record source is tbl_EmployeeTime with a lookup/dropdownlist for
selecting Names from tbl_EmployeeData
The Popup Form is for adding new personnel to tbl_EmployeeData
The problem is when I need to add a new employee I open the popup, add the
name, close the popup and the name will show in the lookup/dropdownlist in
sfrm_EmployeeHours, but this only happens once, if I need to add another name
I have to close and reopen the main form for it to show in the list.
I had another Post called : Requery 2nd Subform
The advice I received I thought fixed the problem but I didn’t try more then
one entry at the time.
We tried to requery the subform on the close event of the popup but it
doesn’t fix the problem.
Forms!frm_MainForm!sfrm_DailyReports.Form!sfrm_EmployeeHours.Form.Requery
Appreciate any help and will keep searching the forum.