Results 1 to 2 of 2
  1. #1
    knox is offline Novice
    Windows 10 Access 2016
    Join Date
    Oct 2016
    Posts
    1

    Form Design

    Sample database



    https://drive.google.com/open?id=0B5...XJXZGkyd3lsZ0k

    Ok, so here is what I want to do in this sample database, in the Orders form, I want to create a control (text box or combo box or whatever is more suitable) that specifies the number of products in the subform and does not allow access to commit the order in the underlying tables unless that number of products is selected in the subform.

    How can this be done ?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Haven't looked at the sample db, but from the sound of it you'd have to use local tables to hold the data until you wanted to commit all of it. When you switch between bound form and subform, each will save the data. If you don't want them saving to the actual tables, you'll need to use local tables, or at least one for the subform. The main form could be unbound, and the data saved as desired.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 4
    Last Post: 09-08-2016, 12:43 PM
  2. Replies: 1
    Last Post: 08-19-2015, 09:35 PM
  3. Replies: 3
    Last Post: 01-13-2015, 03:43 PM
  4. Replies: 3
    Last Post: 07-20-2012, 11:41 AM
  5. Replies: 5
    Last Post: 12-22-2011, 01:12 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