Results 1 to 6 of 6
  1. #1
    rajudh is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Mar 2020
    Posts
    12

    Tax details do not populate in report.

    Hi,
    Can anyone help me ?
    I have made a Tax Invoice.
    Invoice form is a combination of Invoice details table, Invoice table and product table.
    It has Tax calculation fields in footer which is derived from Invoice details table sub form like 5%Amt,
    12%Amt, 18%Amt & 28%Amt.
    This fields does not show in Report.
    My question are -
    1. How to populate Tax Calculation field in Report ?
    2. How to make Invoice Form blank for another entry ?
    3. How to limit Product record entry say 10 or 12 per Invoice ?
    4. How to update stock ? i.e. purchase entry should increase stock and sale entry should decrease stock for that particular product.

    5. How to make reports for -
    a. Date wise Sale Report-
    b. Date wise Purchase Report
    c. Customer wise Sale Report - from date to date
    d. Customer wise purchase Report - from date to date
    e. How to search, Edit Invoices ?



    file attached.

    thank you
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Those are a lot of questions. Really should tackle one issue at a time. I will try to give you starting points on some.

    1. Consider calcs like: =Sum(IIf([GST%]=5, [Amt], Null))
    Looks like need to include Customer table in report query, link to Invoice table, instead of using DLookup. Domain aggregate expression can cause slow performance. Can do same for form but don't use INNER JOIN - be sure to lock controls so cannot edit customer info. Another technique is to include fields in combobox RowSource then textbox references combobox columns by index. Index begins with 0 so column 2 has index 1: =CustomerID.Column(1).

    2. move to new record row

    3. why? is it 10 or is it 12?

    4. don't do this, calculate stock balance when needed, don't save it - review http://allenbrowne.com/AppInventory.html

    5.
    a. - d. start building reports that apply sorting and grouping rules and dynamic filter - when you have specific issue, post question
    a. - e. review http://allenbrowne.com/ser-62.html


    Why is customer in Product table?

    Advise NOT to use spaces nor punctuation/special characters (underscore only exception) in naming convention for any objects. Better would be GSTPct or GST_Pct.

    Cannot directly use Null in an equality expression. Nothing is ever equal to or not equal to Null - there is nothing to compare, not even Null=Null. Use Is Null or IsNull or Nz. Review http://allenbrowne.com/casu-12.html
    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
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    See this free data model from Barry Williams for ideas on database structure.
    Did you "test" your database structure with some sample data before building in physical Access?See StumpTheModel.
    June has given good advice.

  4. #4
    rajudh is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Mar 2020
    Posts
    12
    Thank you for your quick reply.


    I want to clear that I am not expert in Access.



    I am learning from Youtube, and tutorials from net.


    You have solved my 1 & 2 question.


    I want to print Invoice in A5 size paper. For that reason I am limiting the entries to 10.
    so that it should not print on second page.


    Just another thought -


    I want to make Invoice form like professional look.


    can I add a button for save and close ?


    Another button for opening and editing previous Invoices ?



    A little help would really be appreciated.

    I will be grateful for your help

    Thank you once again.

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Add buttons where - on report object? Buttons on report do not work in PrintPreview, only ReportView.

    On form, add whatever buttons you want. This is basic Access functionality.

    Build a report for printing invoice. Set layout for A5 size paper.
    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.

  6. #6
    Bullschmidt's Avatar
    Bullschmidt is offline Freelance DB Developer
    Windows 10 Office 365
    Join Date
    Mar 2020
    Location
    USA
    Posts
    64
    I have made a Tax Invoice.
    Invoice form is a combination of Invoice details table, Invoice table and product table.
    It has Tax calculation fields in footer which is derived from Invoice details table sub form like 5%Amt,
    12%Amt, 18%Amt & 28%Amt.
    This fields does not show in Report.
    My question are -
    1. How to populate Tax Calculation field in Report ?
    2. How to make Invoice Form blank for another entry ?
    ...
    Don't know if my free sample Invoices DB might give you some ideas...

    http://www.bullschmidt.com/access

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

Similar Threads

  1. Conditional Report Details
    By M.Enders in forum Reports
    Replies: 7
    Last Post: 08-15-2018, 02:06 PM
  2. Replies: 4
    Last Post: 08-11-2018, 11:22 AM
  3. Replies: 7
    Last Post: 04-16-2018, 07:43 PM
  4. repeating details in report
    By msnarayanan in forum Reports
    Replies: 2
    Last Post: 09-25-2015, 08:41 AM
  5. Multiple Details Sections of report
    By nkuebelbeck in forum Reports
    Replies: 1
    Last Post: 03-17-2010, 09:34 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