+ Reply to Thread
Results 1 to 2 of 2

Thread: Disable Combo Box

  1. #1
    Barn Newbie rivergum23 is an unknown quantity at this point rivergum23's Avatar
    Join Date
    Feb 2009
    Posts
    31
    Rep Power
    3

    Disable Combo Box

    Hi Guys,
    Can anybody help me with this one...

    I have a database where as I enter in information through the use of combo boxes and when I've completed filling the form out I have a check box at the bottom that puts a "1" into a column (say "complete") in my database. What I would like to do then is disable the combo boxes so they cannot be altered/changed whilst ever that column "complete" has a value of "1".

    Is it possible to disable a combo box like this or inhibit a change.

    Thanks in Advance,
    Brett

  2. #2
    Barn Enthusiast sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69 is a jewel in the rough sbenj69's Avatar
    Join Date
    Mar 2008
    Location
    The frigid northern plains
    Posts
    432
    Rep Power
    7

    The context in vba would be something like this for your checkbox in the after update:
    Code:
    If me.check1 = True Then
    me.combo1.enabled = False
    Else
    me.combo1.enabled = True
    End If
    
    Join our Folding team: DeveloperBarn Folding
    -----------------------------------
    Folding Stats - Stanford University
    Folding Stats - Extreme Over-Clocking
    Folding Stats - Kakao Stats
    Folding Stats - Xtreme CPU

    -----------------------------------

+ Reply to Thread

Similar Threads

  1. Combo Box
    By Carenas in forum Microsoft Access
    Replies: 9
    Last Post: January 20th, 2009, 08:38 AM
  2. Disable controls on checkbox checked!!
    By micky in forum JavaScript Programming
    Replies: 9
    Last Post: November 12th, 2008, 05:24 AM
  3. combo maker
    By Rebelle in forum ASP Development
    Replies: 21
    Last Post: October 1st, 2008, 11:25 AM
  4. Combo Box - Add Entry Not In List
    By AOG123 in forum Access Database Samples
    Replies: 0
    Last Post: June 6th, 2008, 10:35 AM
  5. Dynamic Combo Maker
    By mehere in forum ASP Code Samples
    Replies: 0
    Last Post: March 28th, 2008, 10:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO