Results 1 to 3 of 3
  1. #1
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481

    Visibility and Hide a field based on value list selection.

    Hi

    A help required.


    I have a field sourced by value list named "Status" on form with values "Active or Suspended".

    There is another field "SuspendedDate" to be visible only if above selected value is "Suspended" otherwise always hidden.



    Note: "Active" is default data field value.


    Regards

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    If you have a single form, you could add this to Form Current event

    Code:
    If Me.Status = "Suspended" Then
    Me.SuspendedDate.Visible=True
    Else
    Me.SuspendedDate=False
    End If
    Alternatively, use a Select Case statement
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481
    Hi

    Thanks for the efforts.

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

Similar Threads

  1. Replies: 8
    Last Post: 12-13-2016, 02:11 PM
  2. Replies: 11
    Last Post: 02-09-2016, 07:45 AM
  3. Field visibility based on ComboBox selection
    By cactuspete13 in forum Forms
    Replies: 3
    Last Post: 01-30-2013, 03:37 PM
  4. Replies: 8
    Last Post: 01-25-2012, 02:07 PM
  5. Visibility based on Combo selection
    By jlclark4 in forum Forms
    Replies: 1
    Last Post: 12-22-2010, 11:42 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