Results 1 to 3 of 3
  1. #1
    Rick West is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jul 2009
    Posts
    90

    Combo Boxes Visible/Invisible

    On my form (F_Main) are 10 combo boxes - (Cust01, Cust02, Cust03....Cust10) I only want them visible if the underlying query is not null.



    Reason, different projects will have different combo boxes pertain to them and I only want the users to "see" the ones with data behind them.

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    use DCount to verify whether the record count is null.

  3. #3
    Rick West is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jul 2009
    Posts
    90
    You'll have to help me through this a little more specifically please. I tried adding the DCount function to the Conditional Format of the combo box but could not figure out how to word it.

    I used this: DCount("PriSeg", "Q_Cust05Attribute", "PriSeg is null") and turned the box background red if the condition was true. It does not work.

    Should I put some code somewhere else other than in the Conditional Format of the combo boxes?

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

Similar Threads

  1. Using Combo Boxes
    By geoffwbailey in forum Programming
    Replies: 1
    Last Post: 06-21-2010, 10:08 AM
  2. combo boxes
    By thewabit in forum Forms
    Replies: 7
    Last Post: 01-01-2010, 08:51 PM
  3. Invisible LookUp Data List
    By aaghd in forum Access
    Replies: 3
    Last Post: 07-28-2009, 02:35 PM
  4. combo boxes
    By labrams in forum Forms
    Replies: 0
    Last Post: 04-20-2006, 09:28 AM
  5. Combo Boxes
    By Mxcsquared in forum Forms
    Replies: 0
    Last Post: 01-19-2006, 04:59 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