I have a couple questions.
How do I calculate the total of a field on a form? I also want the total to show up on a page footer on a report. Should I calculate this in a quey?
Also, I have a button on a subform that opens another form. This form is based on a query that has a filter based on a value on the subform. When I click on the button, the form does not open because it cannot find the the value on the subform. The button only works if I open the subform separately. How can I fix this? Do I need to add code to open the subform automatically?
Thanks.
How do I calculate the total of a field on a form? I also want the total to show up on a page footer on a report. Should I calculate this in a quey?
Also, I have a button on a subform that opens another form. This form is based on a query that has a filter based on a value on the subform. When I click on the button, the form does not open because it cannot find the the value on the subform. The button only works if I open the subform separately. How can I fix this? Do I need to add code to open the subform automatically?
Thanks.