[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

count records per page in ms access

Posted on 2013-11-11
8
Medium Priority
?
1,122 Views
Last Modified: 2013-11-28
I have an access report that i would like to count how much records on the page starting with the number 1.
thanks
0
Comment
Question by:Svgmassive
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39639625
in the report, create an unbound textbox
set the control source to =1

set the Running Sum to Over All or over group
0
 

Author Comment

by:Svgmassive
ID: 39639653
that's no what i am looking for i am looking for a page total not a running sum nor group total.thanks
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39639659
can you elaborate the page totals you are looking for.

better upload a sample db and explain what you want to see in the report
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

Author Comment

by:Svgmassive
ID: 39639695
count how many records per page if  there's 10 records on a page the text box show display 10,if there's 8 then it should say 8, not looking for a running sum or group total.
running sum would be 18,if there one  group it would be 18 also and that's not what i am looking for i have those already.Thanks
i have no grouping levels on the report.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 39639718
You'll have to do this in VBA.

Take a look at this article for the code, under the heading "Placing a Count in a Page Header or Footer":

http://office.microsoft.com/en-us/access-help/counting-in-reports-HA001137763.aspx
0
 
LVL 31

Accepted Solution

by:
hnasr earned 2000 total points
ID: 39640576
One way:
Text box in detail:
    name: recSum ,  controlSource=1, Running Sum over all, visible: no

Text boxes in page footer:
    name: recPrev,  visible: no
    name: recPage

Private Sub PageFooterSection_Print(Cancel As Integer, PrintCount As Integer)
    Me.recPage = Me.recSum - Nz(Me.recPrev, 0)
    Me.recPrev = Me.recSum
End Sub

Open in new window

0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39683695
:-0
0
 
LVL 61

Expert Comment

by:mbizup
ID: 39683870
Did you actually take the time to read the article or did you simply "pick an answer' to close the question, get it off of your abandoned questions list, in order to get past the site's automatic lock so that you could post your new question?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question