Results 1 to 3 of 3
  1. #1
    emihir0 is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    22

    Post Quickly selecting a product (pop-up?) form.

    We are getting regular orders (not same products) from a handful of clients.



    Our products are of format <MODEL>-<SUB-CODE>. Hence I have made the following:

    1) Single Form acts as main form for new order.
    2) Sub-Form on this (1) which is in continuous form view to list all of the products this client ordered. This looks neater than datasheet view and can have buttons (for example to delete the record with 1 click).

    The problem for me is how do I select the product quickly in this continuous form (CF).

    So far what I have done is that when a new record wants to be added to an order, a form pops up where the user selects <Model> from a combobox and then <SUB-CODE> from combobox next to the first one (which is filtered based on his model selection). Then this product is confirmed and shown as full name (ie. <Model>-<Sub-CODE>) in the CF.

    What would be the standard way to do this? My uttermost concern is that this CF needs to be filled as quickly/efficiently as possible.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    In continuous form data controls can be arranged to appear as datasheet.

    Using a popup form complicates design. Passing the selected value back to the calling form where record is being entered/edited is tricky. Example from my code for one approach:
    Code:
        DoCmd.OpenForm "DialogGetDate", , , , , acDialog, "Transfer"
        If CurrentProject.AllForms("DialogGetDate").IsLoaded Then
            Me.tbxNewDate = Form_DialogGetDate.tbxDateDialog
            DoCmd.Close acForm, "DialogGetDate", acSaveNo
        End If
    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
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    The list of commonly ordered items can be provided in a pop-up = Yes and Modal = No form. A double click on an item, like the item's stock/model number, could add the item to the sales order. I would have the pop-up form append records to a tblOrders. I would bind the subform to tblOrders, showing which items have been added from the pop-up.

    An alternative to a continuous on the pop-up could be a listbox control or a combo. I will use combos, sometimes. The combo's Rowsource can be updated by a little search form, of sorts. Sometimes I will even provide an option for the user to place stock # ahead of description or vice versa. The user choosing one over the other would affect the Combo's Rowsource.

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

Similar Threads

  1. Replies: 6
    Last Post: 02-28-2015, 11:57 AM
  2. Replies: 2
    Last Post: 08-14-2014, 11:49 AM
  3. Replies: 4
    Last Post: 04-26-2013, 08:32 AM
  4. Replies: 3
    Last Post: 02-26-2013, 05:07 AM
  5. How quickly does a Form record update?
    By JRINC in forum Forms
    Replies: 3
    Last Post: 10-12-2011, 02:19 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