I have quite an urgent issue which I am trying to solve for some time now.
I have a main form and a subform. The subform includes the subform fields "January", "February", ... "December". These fields are the record source of the subform.
I would like to include a control (text box) to the subform (preferrably in the detail section, may in the footer) which gets its value from a query. Please keep in mind that the query is not part of the record source and cannot also not be since the recordset would be unupdatable if the field was part of the record source.
How can I add this text box to the subform and link the showed value to the value in the query?
Please note also, that the query should refer to the actual record in the detail section of the subform (if the actual record in the subform is record 23, the control on the subform should show the respective query amount of record 23).
Thanks a lot for your help. I appreciate your comments.
Stefan
I have a main form and a subform. The subform includes the subform fields "January", "February", ... "December". These fields are the record source of the subform.
I would like to include a control (text box) to the subform (preferrably in the detail section, may in the footer) which gets its value from a query. Please keep in mind that the query is not part of the record source and cannot also not be since the recordset would be unupdatable if the field was part of the record source.
How can I add this text box to the subform and link the showed value to the value in the query?
Please note also, that the query should refer to the actual record in the detail section of the subform (if the actual record in the subform is record 23, the control on the subform should show the respective query amount of record 23).
Thanks a lot for your help. I appreciate your comments.
Stefan