Results 1 to 3 of 3
  1. #1
    lolner is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Posts
    1

    Need help with invoice model

    Hello everyone!



    I'm trying to develop a Access invoice substitute for my actual excel invoice model.

    But i'm having problem with the logic behind it, so i need some help with it.

    We build and manufacture custom computers, so our products have a lot of variable components on it.

    I'm wanting to have a invoice model where i have:

    -Invoice number
    -Customer name
    -Data

    -Product (computer model X)
    -Processor (combo list chosen from products tables)
    -Graphics card (same)
    -RAM (same)
    -Storage 1 (same)
    -Storage 2 (same)
    -Motherboard (same)
    -Operational System (same)

    and goes on...

    But i didnt find a way to store these choices in a table (so i can access the invoice order xxx from customer yyy, that i choose the xxx processor and yyy graphics card).


    My actual excel is in this way:

    Component Value Quantity Subtotal
    Computer XXX XXX.XX (sum of components hidden value) 1 XXX.XX (component x quantity)
    Component name 1: (dropdown list) (dont show the value) 1
    Component name 2: (dropdown list) (dont show the value) 1
    Component name 3: (dropdown list) (dont show the value) 1
    Component name 4: (dropdown list) (dont show the value) 1
    Component name 5: (dropdown list) (dont show the value) 1
    Monitor: (dropdown list) XXX.XX 1 XXX.XX (component x quantity)
    Keyboard and mouse: (dropdown list) XXX.XX 1 XXX.XX (component x quantity)


    At this moment i'm doing like this way:

    Click image for larger version. 

Name:	Orcamento.PNG 
Views:	23 
Size:	41.1 KB 
ID:	35417


    My actual excel model is this (the red number are the hidden values):

    Click image for larger version. 

Name:	orcamento 1.PNG 
Views:	23 
Size:	156.6 KB 
ID:	35418

    Also i make a auto datasheet of the computer (it takes proprieties of the components) automatically, is there any way i can do this (i use dlookup on excel, the best way to do this is using dlookup on access too?)


    Click image for larger version. 

Name:	datasheet.PNG 
Views:	23 
Size:	42.3 KB 
ID:	35419


    Any help would be good!

    Thanks in advance

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Conventional structure would be an Invoices table and a related table for InvoiceItems.

    No, DLookup is not best approach. Build queries that join related tables. Or a report with subreports.

    Recommend you complete an introductory tutorial book on Access.
    Last edited by June7; 09-08-2018 at 04:01 PM.
    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
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    You would also need a table for every option type in one field and the option value in another field, or a more normalized fashion where there is a separate table for each option type. I mention this because you seem to want to use combos to limit option choices to the ones in a list (I think that's a good idea). Then there is the report (or reports) that you'd need. Access is the best tool for this job, but it's much easier to make a mess of a db than a spreadsheet IMHO, and more labour intensive to fix or muddle along with as well, when it's done badly.

    I see your document has a lot of images. Don't store them in your table(s). There are better ways.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. How to model invoice payment discount?
    By kd2017 in forum Database Design
    Replies: 2
    Last Post: 07-12-2018, 04:40 PM
  2. Replies: 4
    Last Post: 10-01-2016, 09:19 AM
  3. Replies: 2
    Last Post: 09-14-2015, 09:01 AM
  4. Replies: 3
    Last Post: 11-19-2012, 05:05 PM
  5. Replies: 1
    Last Post: 10-10-2012, 01:05 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