Results 1 to 5 of 5
  1. #1
    Cohdy is offline Novice
    Windows 11 Access 2016
    Join Date
    Jul 2023
    Posts
    2

    Question New to Access: Order Form Help

    Hi Everyone,



    I was looking for some assistance in building a Purchase Order Generator with a few tables of data that I have on hand and will continue to update.

    I would like for the build to be capable of doing the following:


    • Users would need to login with a username and password before gaining access to the form.
    • Each user would have a specified account number and customer name tied to that user.
    • When opening the Order Form the user's account number as well as their company name would be prepopulated in designated fields in the form
    • I would like to be able for a user to write in the part number field and have the description automatically populate (almost like a vlookup in excel). Except I would like for the customer to write in a part number or a manufacture part number of the product from the catalog table and have the corresponding description return in the description field. Alternatively, if a user writes in "Non-Stock" I would like them to have the freedom to write in their own description.
    • I am also trying to make the order lines portion auto generate another line if an initial line has been filled out.


    I've made a few tables and a few forms, but I don't think I've gotten very far. Is there someone who might be able to point me in the right direction with this? I will continue to explore the forum in the meantime. Please see screenshot of current progress below:

    Click image for larger version. 

Name:	AccessProgress.png 
Views:	25 
Size:	78.2 KB 
ID:	50467Click image for larger version. 

Name:	AccessProgressFormView.png 
Views:	25 
Size:	41.9 KB 
ID:	50468


    I appreciate any help!

    - Cohdy

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    youre item detail form is wrong. Dont use detail form, it should be a CONTINUOUS FORM so user can add infinite amount of entries.

    tblOrder: order master tbl
    --------------------
    OrderID (autonum)
    OrderDate
    CustomerID (bound to customer tbl)
    etc


    tblOrderDetail : all items in the order
    ---------------
    DetailID (autonum)
    ItemNum
    ItemDescr
    Qty
    Amt

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    Might want to have the OrderNum in the detail record as well?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    Cohdy is offline Novice
    Windows 11 Access 2016
    Join Date
    Jul 2023
    Posts
    2
    I'll give it a go! Thank you for your direction. I bought a course on Udemy that I think will be a great help.






    Quote Originally Posted by ranman256 View Post
    youre item detail form is wrong. Dont use detail form, it should be a CONTINUOUS FORM so user can add infinite amount of entries.

    tblOrder: order master tbl
    --------------------
    OrderID (autonum)
    OrderDate
    CustomerID (bound to customer tbl)
    etc


    tblOrderDetail : all items in the order
    ---------------
    DetailID (autonum)
    ItemNum
    ItemDescr
    Qty
    Amt

  5. #5
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    Hi Cphdy
    Can you upload a copy of your database when you have revised the tables?

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

Similar Threads

  1. Replies: 5
    Last Post: 08-27-2019, 08:41 AM
  2. Create an part order form in Access
    By JesterGrafix in forum Forms
    Replies: 1
    Last Post: 05-06-2018, 05:19 PM
  3. Replies: 9
    Last Post: 05-30-2017, 04:11 PM
  4. Replies: 2
    Last Post: 03-07-2016, 05:02 PM
  5. Access 2003, sort order property of a form
    By Rick West in forum Forms
    Replies: 11
    Last Post: 09-17-2009, 08:28 PM

Tags for this Thread

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