Connecting Tech Pros Worldwide Help | Site Map

record count

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 09:22 PM
seeker52
Guest
 
Posts: n/a
Default record count

I receive an error 3464 when I put =count(*) in the controlsource of a
textbox on the report header. The error is thrown at the filter
created for the report when I docmd openreport. The error is not
thrown if the =count(*) is not used. I want the textbox in the header
of the report to show the number of records in the report.

seeker53

  #2  
Old November 12th, 2005, 09:22 PM
Allen Browne
Guest
 
Posts: n/a
Default Re: record count

Make sure the text box is in the Report Header section, not the Page Header
section.

Try adding quotes, e.g.:
=Count("*")

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"seeker52" <akinfam@hotmail.com> wrote in message
news:8c9f7d3a.0404151810.6159ba9e@posting.google.c om...[color=blue]
> I receive an error 3464 when I put =count(*) in the controlsource of a
> textbox on the report header. The error is thrown at the filter
> created for the report when I docmd openreport. The error is not
> thrown if the =count(*) is not used. I want the textbox in the header
> of the report to show the number of records in the report.
>
> seeker53[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.