Results 1 to 2 of 2
  1. #1
    Sonny101 is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    Jun 2014
    Posts
    79

    Add counter to a form

    I was working on a form for sometime, and wanted to add a dynamic counter to it, which sums to data in several fields and sums it. Lets say there were 10 fields with stored the hours for each activity (Maintenance, Cleaning, Inventory etc). I wanted to add another field, which totals the hours in each of those fields and display it somewhere. Any easy way of doing it? I created a query and within it a column with a expression that sums the data, but do not know how to add that to the actual form.



    Cheers

    File : https://app.box.com/files/0/f/0/1/f_18432056488

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    Just add the field you created that sums the values to your form. You can add calculated values from a query to your form just like you would a 'regular' field.
    Alternately the same formula you wrote in your query you can create in an UNBOUND text box on your form, the syntax should be identical, or nearly identical to that in your query.

    Your application requires a login to download and I didn't want to sign up so I didn't download it.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Counter on a Form
    By athyeh in forum Programming
    Replies: 9
    Last Post: 07-26-2013, 02:33 PM
  2. Counter For Your Form(s)
    By burrina in forum Sample Databases
    Replies: 0
    Last Post: 11-14-2012, 06:28 PM
  3. Counter
    By Skroof in forum Access
    Replies: 3
    Last Post: 05-14-2012, 08:25 AM
  4. Database Usage Counter in Main Form
    By rkalapura in forum Forms
    Replies: 5
    Last Post: 04-15-2012, 09:02 PM
  5. lap Counter
    By challenger in forum Access
    Replies: 4
    Last Post: 07-06-2010, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums