Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2015
    Posts
    3

    Programming to Input Data into a SubForm

    Hi Everyone,

    I have several option buttons on my main form. The idea is that the user can choose various options and then click on a button. Then, based upon the options chosen, it would add data into a sub-form from which a letter will be printed out asking for specific information.



    What I'm finding is that the data will go into the field in the sub-form, but it needs an additional step (i.e. a return button). It's like it's adding the data for the first option chosen, but not the others. For example, if option 3 and 4 are chosen, it will input option 3, but not 4.

    Here's my code for the button. Any suggestions?


    If Me.optInsAgt = "-1" Then
    Forms![frmPPAMenu]![subconditions].Form![conDescription] = "Name and phone number of insurance agent."
    End If

  2. #2
    RayMilhon is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    Tough to get an answer with the limited information. You're issue is that when selecting more than one item only one item is saved. Then you're code snippet only shows one item. you won't be able to get any help with such limited information.

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

Similar Threads

  1. Form Subform Data Input problems
    By Stan Denman in forum Forms
    Replies: 1
    Last Post: 09-15-2015, 02:36 PM
  2. How to add programming to a subform?
    By craigugoretz in forum Programming
    Replies: 1
    Last Post: 02-19-2015, 08:01 AM
  3. Replies: 13
    Last Post: 02-26-2012, 08:28 AM
  4. Replies: 2
    Last Post: 06-17-2010, 04:15 PM
  5. Replies: 1
    Last Post: 06-14-2010, 02:31 AM

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