Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    OP is original poster, which is you.


    Please provide information requested in post #14. It would shine a light on what's going on. We're all stumbling in the dark here so far. Without more input from you, this is a dead end.

  2. #17
    forskare is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    10
    Gentlemen

    As per the request, here's a layout of the table and the form.

    Again,

    The user makes a selection ('Homeowner', 'Renter', 'Landlord', 'Other') in the HRLO control or control1.

    If the user selects 'Renter' or 'Landlord', Controls 3,4,5 become visible

    If the user selects 'Other', control 2 becomes visible.

    If the user selects 'Homeowner', nothing happens
    Attached Thumbnails Attached Thumbnails Table-Form.JPG   Table-Form.JPG  

  3. #18
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    As per the request, here's a layout of the table and the form.
    I expected to see the images from your Access objects, not Excel sheets. Your images are no help at all for solving the Access problem you have presented.
    Do you have anything that you have developed with Access?

  4. #19
    forskare is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    10
    OK, so enlighten me. What will a pic of the form tell that the excel I posted will not?Click image for larger version. 

Name:	Form 1.JPG 
Views:	11 
Size:	73.5 KB 
ID:	39032

  5. #20
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,742
    What will a pic of the form tell that the excel I posted will not?
    It shows that your form textboxes are, in fact, bound to the table.
    The right side of the form is overlaid, so I can't tell if HRLO is a combo box.

    The user makes a selection ('Homeowner', 'Renter', 'Landlord', 'Other') in the HRLO control or control1.
    When you say this, is the user making the selection from the table, or from the form?
    What is the rowsource for HRLO control? What events are defined for the HRLO control?

    We could save a GREAT deal of time and avoid the 20 questions style back and forth if you would post the database here. Then we could post images back explaining what we see as the solution.

  6. #21
    forskare is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    10
    Davegri,

    Granted, my terminology may well have produced some confusion but none the less, code was suggested. You came into this thread knowing that so why did you ask these questions?

    It shows that your form textboxes are, in fact, bound to the table.
    When you say this, is the user making the selection from the table, or from the form?
    What is the rowsource for HRLO control? What events are defined for the HRLO control?
    Those are questions which have no bearing on what code to write. For the execution, yes. But the code itself, Nope! Why? Because code was suggested and none of your posed questions were mentioned.

    Asking to see a form so you can see whether or not the control is a combo box tells me you don't know what you're talking about. Either that or you like to be antagonistic.

  7. #22
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,939
    @forsake - dave is not being antagonistic, he is trying to help. In order to to help he needs some background to the situation. Hence the questions. We are all here to help where we can and we freely give what time we have to do so. But being unclear about what 'things' (objects) are called - controls/fields etc makes helping difficult resulting in '20 questions' - which is not an effective use of time. Your initial post refers to fields - fields are in tables, not forms - so from the get go we were heading off in the wrong direction. Your response in post #3 was antagonistic, and post #6 was equally vague in terminology. If you persist in being vague you will find the number of responders willing to help will drop off dramatically.

    I take from your latest responses that the code works - in which case you should mark the thread solved - see the thread tools dropdown on the green bar at the top of the thread. It took 11 posts to get to what appears to be a satisfactory solution. The remaining 10 being at best 'challenging'. It should only have needed 3 or 4 at worst - particularly as this is a common question and a simple google/bing of your question would of produced many links to examples of similar requirements.

    Good luck with your project

  8. #23
    Uncle Gizmo is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Posts
    26
    Quote Originally Posted by forskare View Post
    Greetings,

    HRLO is a drop down list field which will have 4 choices: Homeowner, Renter, Landlord and Other.

    If HRLO = 'Renter' or IF HRLO ='Landlord' Then show Field1, else IF HRLO = 'Other', Then show Field2 What is the syntax for this?

    Thank you

    Ken
    The problem is your question does not make sense. Hence you are getting replies which assume you are a beginner. The replies are designed to ferret out more information, and possibly educate you.

    Sent from my Pixel 3a using Tapatalk

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 09-06-2017, 07:41 AM
  2. Replies: 5
    Last Post: 12-07-2016, 09:28 PM
  3. Replies: 1
    Last Post: 11-14-2016, 10:36 AM
  4. Replies: 3
    Last Post: 09-19-2014, 08:22 AM
  5. Replies: 4
    Last Post: 01-23-2014, 04:34 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