Results 1 to 2 of 2
  1. #1
    Hrtlover is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Posts
    17

    Using caluculated controls across forms. and Reports.

    Hey all.



    I have a form with 3 subforms on it.
    It is a invoicing form. and i have it set up as 3 tables for the form. one for the invoice id number and customer details of the invoice,
    One for the services or 'lines' of the invoice (in which you can enter rates on the form)
    and one to calculate the grand total after payments (so a form to add a payment, which takes it away from the grand total)

    a couple of questions though.

    To work out the Grand total, i have 3 calculated controls on the one form

    • TotalexclGST (Unit price*units)
    • GST (TotalexclGst *0.1)
    • Grandtotal (Totalexclgst+gst)

    How do i write the Grand Total to the table? and
    How do i use it in another another calculated control on a different (main or sub) form and record that one as well?

    Also, when createing a report based on this, and using the ID number as the query parameter, it doesn't seem to want to bring up any information. Although this may be user error..

    Unfortunately, i cannot upload the database due to it being a Certificate III in IT assignment mixed with a proper database that i will be using for our company. But it needs to be my work ...


    Any help would be muchly appreciated.

    Thanks!

  2. #2
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    You may have to put some of the calculation within the query itself. That way, when you sum it on the report/form, it sees it as an actual field versus a field with an expression. This then allows you to do additional calculations against the summed field since you can only sum off of a summed (calculated) field so many times.

    Be careful though, sometimes adding in calculations into the query will make that query non-editable.

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

Similar Threads

  1. Using Caluculated fields to return text
    By InsaneJammer in forum Access
    Replies: 8
    Last Post: 04-08-2011, 07:52 AM
  2. Forms and reports
    By g2rules in forum Access
    Replies: 0
    Last Post: 03-08-2011, 09:09 AM
  3. Queries, Forms, Reports..
    By groundhog in forum Access
    Replies: 3
    Last Post: 07-07-2010, 12:30 PM
  4. Forms and Reports
    By nacho in forum Forms
    Replies: 3
    Last Post: 04-17-2010, 01:06 AM
  5. Emailing forms or reports
    By dcecil in forum Reports
    Replies: 6
    Last Post: 12-16-2009, 07:57 AM

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