Results 1 to 4 of 4
  1. #1
    Fabricio Sanches is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    4

    Question Selective Data Entry in access 2010 Forms


    Hello Guys , I am facing an issue with an access 2010 form, I wanna add a selective field in the form: for example I wanna add a field named "Contacted ?" the answer is a Boolean field "Yes" or "No", in this case if the answer is "Yes" so the form should open up a couple of fields such as "When the contact was Made ?" and "Who was Contacted ?", etc. Also if the answer for the field was "No" so no fields should appear in the form. I already added those fields in the corresponding Data Table which the form will pull up the data.

    Any suggestions how can I implement this in an access 2010 form ?

    I really appreciate your answers, thanks !!

  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,521
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Fabricio Sanches is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    4
    Ok , Yes it is. I have a doubt related with this example.
    In this case I have the field "Contacted ?" and the answers "Yes" or "No" , where should I insert this expression in the form ?
    In the form properties , in the table properties or the field properties ?

    Thank you for helping me out.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    As noted in the link:

    You would put that code in the After Update event of the control you're testing, so that when you changed the value it would execute the code. You might also want the code in the Current event, which would fire when you change records

    If you're unsure where VBA code goes:

    http://www.baldyweb.com/FirstVBA.htm

    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: 2
    Last Post: 05-11-2011, 09:06 AM
  2. Data entry of Web Forms to Access
    By psanghvi in forum Forms
    Replies: 1
    Last Post: 01-31-2011, 02:48 PM
  3. Problems with data entry form Access 2010
    By OfficeQuestions in forum Access
    Replies: 4
    Last Post: 09-23-2010, 01:42 PM
  4. Need Help Relating Forms for Data Entry!!!
    By raymon73 in forum Forms
    Replies: 1
    Last Post: 07-13-2010, 09:42 PM
  5. Three Questions on Data Entry Using Forms
    By The_Rattlesnake in forum Forms
    Replies: 1
    Last Post: 10-30-2009, 06:04 AM

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