Results 1 to 8 of 8
  1. #1
    lakersfan34 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5

    query for an invoice.

    i need to create an invoice, but i need to create a query to make the date for the invoice. here is my datebase, how exactly do you make the query in order to generate the invoice.



    http://www.4shared.com/file/gj4DSaJ8/Database11.html

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    Use the query designer. This is very basic Access functionality and Access Help has guidelines on using the designer. Open the designer, pick tables. Since you have relationships established the designer will automatically set the join links. Try it, it's easy!
    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
    lakersfan34 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5
    its not the actual invoice im having problems with its the query im trying to make to run for the invoice. for the invoice to show this type of data

    http://www.4shared.com/file/RsH2xfzh...Henderson.html

    how should i set up the query?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    What is the exact problem? Did you open query designer and pick tables that have the fields you need for report? Then build report. Use report Grouping & Sorting functionality to arrange the data.

    If you want to output invoice for only one company or invoice or period, apply filter criteria to the query.
    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.

  5. #5
    lakersfan34 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5
    nevermind, i misread your last comment, i understand now, once i prepare the query for the invoice how do i make it where the query prompts me to enter the name of my client the invoice is for?

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    You can use input parameter prompt in the query but I don't like them, can't validate user input. I have users input criteria in controls (textbox, combobox, listbox) on a form and refer to the controls as input parameters. Again, look for guidelines in Access Help on input parameters, search on topic: query input parameters.

    My preference for opening a filtered report (or form) is to use the WHERE argument of DoCmd.OpenReport (or OpenForm). I use only VBA but I think a macro can also do this. Again, search Access Help on the topic.
    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.

  7. #7
    lakersfan34 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5
    im trying to build the invoice but for each entry it reputs the name and everything again, how to i make the invoice where it has the name adress and what i need once at the top then all the orders instead of each order having the name and adress above it. id like it to look like this

    http://www.4shared.com/file/RsH2xfzh...Henderson.html

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    Use Grouping & Sorting. Review Access Help on that topic and explore the attached example report of your data and see if it is like what you need.
    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.

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

Similar Threads

  1. Printing An Invoice
    By scotty123 in forum Forms
    Replies: 3
    Last Post: 09-22-2011, 04:35 AM
  2. How to create a invoice of my query?
    By DarrenReeder in forum Reports
    Replies: 3
    Last Post: 12-01-2010, 10:00 AM
  3. Invoice number
    By slik_02 in forum Access
    Replies: 3
    Last Post: 08-08-2009, 08:05 AM
  4. Invoice
    By billyff in forum Access
    Replies: 3
    Last Post: 04-25-2009, 12:15 PM
  5. Invoice Number
    By rzwoo in forum Access
    Replies: 0
    Last Post: 02-25-2009, 01:30 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