D
Don
I have several forms that contain employee statistics. On each of these forms
if have several unbound controls that have formulas associated with them to
calculate different statistics based on the form data.
I now need to create a statistics summary form that is bound to a table
where I can store these calculated statistics. I have created the form
"frmMME" and the table "tblMME" and I am attempting to pass the values to the
individual controls by using defaults. For example, from the form
"frmProductivity" I want to capture the value of control [numAvgHours] and
pass it to my new form. If "frmProductivity" is open, I can use the default
value = [forms]![frmProductivity]![numAvgHours] and it works fine, but there
are several forms I need data from and I don't want to open them all. As a
result, I inserted the vital portions of these source forms as subforms on my
"frmMME", but the same default value does not work. I get #Name? or #Error
messages.
As I understand it, I cannot use DLookup because the values are unbound in a
table.
How can I pull these values into my form in order to save the values in a
table?
if have several unbound controls that have formulas associated with them to
calculate different statistics based on the form data.
I now need to create a statistics summary form that is bound to a table
where I can store these calculated statistics. I have created the form
"frmMME" and the table "tblMME" and I am attempting to pass the values to the
individual controls by using defaults. For example, from the form
"frmProductivity" I want to capture the value of control [numAvgHours] and
pass it to my new form. If "frmProductivity" is open, I can use the default
value = [forms]![frmProductivity]![numAvgHours] and it works fine, but there
are several forms I need data from and I don't want to open them all. As a
result, I inserted the vital portions of these source forms as subforms on my
"frmMME", but the same default value does not work. I get #Name? or #Error
messages.
As I understand it, I cannot use DLookup because the values are unbound in a
table.
How can I pull these values into my form in order to save the values in a
table?