J
JD McLeod
I have a form “NewTimeEntry_frm†that is used to populate a table called
“Timeâ€. On the “NewTimeEntry_frm†one of the inputs is hours worked. I have
a command button there that launches another form the use can use to enter
the start and end times and any breaks worked to determine the total hours
worked, if needed. This second form is called “TimeCalculation†and it is an
unbound form. I would like to be able to have the hours calculated in
“TimeCalculation†automatically passed back to the Hours Worked field on the
“NewTimeEntry_frmâ€. I tried the following in the On Close event of the Time
Calculation form, but it didn’t work:
Forms!NewTimeEntry_frm!Text11Time = Me.Text4
I also tried substituting in the form, field string name in place of the
“Me.â€, but nothing I tried seems to work. The “TimeCalculation†form is
unbound and I am not using it as a subform. It is just a stand alone form
used to calculate hours if needed. Any help would be appreciated.
“Timeâ€. On the “NewTimeEntry_frm†one of the inputs is hours worked. I have
a command button there that launches another form the use can use to enter
the start and end times and any breaks worked to determine the total hours
worked, if needed. This second form is called “TimeCalculation†and it is an
unbound form. I would like to be able to have the hours calculated in
“TimeCalculation†automatically passed back to the Hours Worked field on the
“NewTimeEntry_frmâ€. I tried the following in the On Close event of the Time
Calculation form, but it didn’t work:
Forms!NewTimeEntry_frm!Text11Time = Me.Text4
I also tried substituting in the form, field string name in place of the
“Me.â€, but nothing I tried seems to work. The “TimeCalculation†form is
unbound and I am not using it as a subform. It is just a stand alone form
used to calculate hours if needed. Any help would be appreciated.