Results 1 to 2 of 2
  1. #1
    potatoheadsir is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    1

    Invoice and subforms

    Hi everyone,



    I have a customer and invoice database I am working on. I have tables:
    CUSTOMER(CustomerID{PK}, FirstName, LastName, Address, etc)
    INVENTORY(InventoryID{PK}, ItemCode, Itemdetails,ItemUnitCost, ItemSalePrice)
    INVOICE(INVOICEID{PK}, CustomerID, OrderDate, Comments)
    INVOICEROWS(InvoiceRowsID{PK}, InvoiceID, InventoryID, Quantity, UnitPrice, InvoiceRowtax, Total Price)

    I am currently working on the invoice section. I have a form that shows InvoiceID, CustomerID, Comments and within that, a subform with the INVOICEROWS as continuous forms. Link Master and Child with INVOICEID. The INVOICEROW shows option to choose InventoryID, input quantity, UnitPrice, TotalPrice, and then a =Sum[totalprice] at the bottom.

    I am having trouble with the INVOICEID on the mainform to generate the next autonumber, it always says (New). THOUGH when I enter something in the comment section it will show a number.

    What am i doing wrong?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    Check the main form DataEntry property - is it set to Yes? If so, then form is set to open only to NEW record. This is not what you want?
    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. Need some help with Invoice in Report.
    By Temujin in forum Reports
    Replies: 8
    Last Post: 11-29-2011, 10:33 AM
  2. query for an invoice.
    By lakersfan34 in forum Access
    Replies: 7
    Last Post: 11-25-2011, 12:54 AM
  3. Invoice for kits
    By tomasreabe in forum Access
    Replies: 1
    Last Post: 09-22-2011, 04:33 PM
  4. invoice form
    By musicalogist in forum Forms
    Replies: 3
    Last Post: 04-16-2010, 05:54 PM
  5. Invoice
    By billyff in forum Access
    Replies: 3
    Last Post: 04-25-2009, 12:15 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