A bit of Access terminology (or jargon ... <g>). In Access, the things in
tables are fields (the SQL folks call them columns). The things in forms
(and reports) that show what's in the tables (and other stuff) are called
controls.
So my earlier suggestion was to open your form in design view and add the
two new controls, NEITHER of which connect to any table fields. They will
be temporary buckets into which you'll add data parameters.
Regards
Jeff Boyce
Microsoft Office/Access MVP
> Thanks for all your help. I'm still relatively new to this, so I'm
> requesting
[quoted text clipped - 71 lines]
>> >
>> > Thanks for your help!
I hate that I'm a newbie and just don't seem to be getting this... I really
do appreciate your patience.
I tried adding two text controls (thanks for the jargon). But when I open
the MonthlyAll form, it does not prompt for dates. There is, in fact, no
data at all in the subforms. The two text controls show up as "#Name?".
When I open MonthlySpots and MonthlyShows independently, it prompts me
"Forms!MonthlyAll!FromDate", so it seems like I did at least one step
correctly.
Thanks again for your help.
> A bit of Access terminology (or jargon ... <g>). In Access, the things in
> tables are fields (the SQL folks call them columns). The things in forms
[quoted text clipped - 85 lines]
> >> >
> >> > Thanks for your help!
Jeff Boyce - 07 May 2007 18:31 GMT
When "#Name" shows, Access is telling you that something is spelled
differently that it expects. Or that the control is bound to a table field
that it doesn't recognize. Click on one of the new controls. Select
properties. If there's anything in the Control Source property, delete
it... the two controls need to be unbound.
Next, I hadn't realized that you wanted the FORM to prompt you for a date.
The approach I offered requires you to enter dates in the two fields (if you
wish to), before running the query.
The queries will not "find" the date values unless the form is open and
dates are in the From and To controls.
And if I left it out last time, add a command button to your form that runs
the report (based on the query, based on the form's From/To values).
Good luck!
Regards
Jeff Boyce
Microsoft Office/Access MVP
>I hate that I'm a newbie and just don't seem to be getting this... I really
> do appreciate your patience.
[quoted text clipped - 112 lines]
>> >> >
>> >> > Thanks for your help!