Jerry said:
Marshall, this whats is happening so far. I already fix the issue of the
totals, I modified my subreport. I included a group by transaction type.
Now I have the following issue.
When I run my report, I have to input my begining date and ending date 5
times. So, what I am doing now is that in the form (unbound) I create two
text boxes. where I want to put my Beg-Date and End-Date. I know that I can
"name" these boxes and use that "name" on both of my queries criterias.
Can I do it this way? and if so, how can I name my text boxes and how can a
word it on my queries.?
That's a good idea.
First, make sure the form is open in design view.
You can name your text boxes any way you like by using the
text box Properties list. The Name property is the first
property on the Property sheet's Other and All tabs. Many
people name their form/report controls with a prefix for the
type of the control followed by a relatively short
descriptive string. I strongly recommend that you do not
use ordinary words (many are reserved) or spaces or any
other non-alphanumeric characters in anything you name. In
your case I would tend toward names like txtBegDate and
txtEndDate.
Once that is taken care of, replace the queries' parameter
prompt strings with this kind of reference:
Forms!nameoftheform.nameofthetextbox