Results 1 to 2 of 2
  1. #1
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402

    Percentages

    Hi guys

    sorry if this has been asjked before but im having truble working out the values on a form.

    i have a form called "Balance sheet" that works out the total value of items from a table called "account transactions"



    this works really well.

    what i would like to be able to do, but im having trouble with is this.

    Click image for larger version. 

Name:	Untitled.png 
Views:	5 
Size:	34.0 KB 
ID:	15939
    i would like to deduct 33% from the computer hardware row each year

    the code i have on the form for the computer hardware for this year "In this case 2014 " is

    =Nz(DSum("[Total Payment]","[Account Transactions]","[category]=1 and [Entry Date] between #" & Format([Forms]![Open Balance Sheet]![Start Date Txt Box],"mm\/dd\/yyyy") & "# And #" & Format([Forms]![Open Balance Sheet]![End Date Txt Box],"mm\/dd\/yyyy") & "#"),0)+([computerhardware-lastyear-txtbox])

    ([computerhardware-lastyear-txtbox]) is the sum total of all the hardware for last year "2013"

    how do i do this?

    Many thanks

    Steve

  2. #2
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402
    Sorry

    [computerhardware-lastyear-txtbox]) is the sum total of all the hardware for last year "2014"

    Steve

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

Similar Threads

  1. query that generates percentages
    By jppevy in forum Access
    Replies: 3
    Last Post: 07-30-2013, 10:44 PM
  2. percentages
    By sdel_nevo in forum Programming
    Replies: 10
    Last Post: 06-05-2013, 01:00 PM
  3. Percentages Query
    By mabrown81 in forum Queries
    Replies: 12
    Last Post: 11-01-2012, 12:50 PM
  4. Replies: 1
    Last Post: 03-04-2012, 11:22 AM
  5. How To Compute Percentages
    By zephaneas in forum Queries
    Replies: 7
    Last Post: 06-20-2011, 12:40 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