Results 1 to 2 of 2
  1. #1
    ariansman is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    57

    how to make such an invoice number?

    I am selling some products, namely A to M. I record the orders of costumers in a table, named "orders". Can we assign a unique number, named invoicenumber here, for each set of orders hat a costumer puts? Please see this table:


    Code:
    ID   costumer     product     quantity  unitprice    orderdate      invoicenumber
    
    
    12      jack         A            4        10        25/11/2014          8612
    13      jack         B            5         5        25/11/2014          8612
    14      jack         C            1         4        25/11/2014          8612
    15      jack         F            3         2        25/11/2014          8612
    16      Steve        G            4         8        25/11/2014          8613
    17      Steve        H            1         7        25/11/2014          8613
    17      John         C            1         5        28/11/2014          8614
    17      John         D            3         6        28/11/2014          8614
    17      John         G            1         8        29/11/2014          8615
    17      John         L            1         3        29/11/2014          8615
    17      Jack         C            2         5        29/11/2014          8616
    Actually I’d like to know how I can design the invoicenumber field so that they are set automatically, increase sequentially, and unique for a set of orders like the above example.
    Thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Question asked and replied to in https://www.accessforums.net/reports...ber-49229.html

    What do you not understand about the information already provided?

    You say costumers but do you really mean customers?
    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. how to make invoice number?
    By ariansman in forum Reports
    Replies: 4
    Last Post: 12-26-2014, 09:08 AM
  2. Replies: 1
    Last Post: 02-18-2013, 02:11 PM
  3. To make an invoice with selected records
    By mercapto in forum Database Design
    Replies: 5
    Last Post: 10-04-2012, 12:49 PM
  4. Invoice number
    By slik_02 in forum Access
    Replies: 3
    Last Post: 08-08-2009, 08:05 AM
  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