View Single Post
  #29  
Old December 7th, 2006, 02:21 PM posted to microsoft.public.access.reports
chickalina
external usenet poster
 
Posts: 194
Default SELECT Statement in a Report

I could... I have had nothing but problems when I tried.

"Duane Hookom" wrote:

Can you use a subreport in your "At the bottom of the report" (assuming
Report Footer Section). This subreport could be your crosstab or any other
query.

--
Duane Hookom
MS Access MVP

"chickalina" wrote in message
...
Hi John,
I have a report that "should" show the yearly sum for an idea for 5 years.
I
want the user to be able to choose the start year. At the bottom of the
report (whereever you say the text boxes should go), I need totals for
each
of three different fields (all ideas fall into one of the three). I
created
a crosstab query that gives me yearly sums, but then you can't break that
down into the three sections, and I can't figure out a way for a user
prompt
for the start year.

Should I be using a Select Query for the source and then SELECT statements
in the boxes to pull the information?

Thanks.
M


"John Spencer" wrote:

Sorry, I haven't responded but I've been busy and have not been able to
take
an extended period to examine your problem. At this point, I just don't
understand what you are attempting to do.

One thing that bothers me is you keep saying you are using a query (a
select
statement) in the footer of the report. That makes no sense to me. You
cannot use a query in a footer and you can't use it as the source of a
control.

I will try to find some time this afternoon to look at your problem. In
the
meantime, please copy and paste the SQL statement you are using as the
report's record source. And try to explain what you are attempting to
accomplish in the report's footer (not the page footer).

To make sense of this, I am probably going to have to print out all the
postings in this thread and then ask additional questions.


"chickalina" wrote in message
...
Is there anything anyone can do? I'm in desperate need of help.

"chickalina" wrote: