Results 1 to 3 of 3
  1. #1
    shindb81 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    10

    Taking away tax from first payment only

    Hi. I have a database for a small clinic.
    Patients make multiple payments with various payment methods, and I have a tblPayment associated with tblAppointment.
    tblPayment includes fields AmountCharged and Tax


    I made a query to show total payments and to also show net income, by subtracting tax from the payment.
    Say an appointment resulted in AmountCharged of $100 and Tax was $10.

    My query is subtracting tax from every payment made as below:
    payment 1 = $60 tax = $10 net income = $50
    payment 2 = $50 tax = $10 net income = $40

    I want the query to somehow subtract tax from just the first payment record for any given appointment, and not tax them twice. Can this be done?
    Thanks.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,943
    Not easily.

    Tax should be accounted for in a table that records patient charges on account. Should not be any need to break up the payment, just apply payment to patient account.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    shindb81 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    10
    I see.
    Thank you.

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

Similar Threads

  1. Billing and payment debts
    By azhar2006 in forum Queries
    Replies: 43
    Last Post: 02-27-2014, 01:19 PM
  2. Setting an alert that a payment is overdue
    By bellevue in forum Database Design
    Replies: 6
    Last Post: 04-04-2012, 02:54 AM
  3. Student Payment Query not working
    By jcpty in forum Queries
    Replies: 10
    Last Post: 12-28-2011, 12:22 AM
  4. Multiple Payment Instances
    By luckysarea in forum Queries
    Replies: 3
    Last Post: 04-21-2011, 03:29 PM
  5. Client Payment History
    By GMatos78 in forum Access
    Replies: 4
    Last Post: 04-24-2010, 09:19 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