Results 1 to 2 of 2
  1. #1
    elvin0809 is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    15

    cascading combo box question

    hi to all
    im new to MS access
    i have a table COMPLAB1_PC, COMPLAB2_PC, SPEECHLAB_PC, TECHLAB_PC and BORROWING

    in the BORROWING form i have 2 cascading combo boxes SelectLaboratory and ComputerName that lookup for the ComputerNumber of the selected laboratory



    then i have this code in the second combo box to change the availability of the selected PC
    If (__________) Then
    CurrentDb.Execute ("UPDATE SPEECHLAB_PC SET AVAILABILITY = 'NOT AVAILABLE' WHERE [ComputerName] = '" & Me.ComputerName & "';")

    i dont know what would i inserted in the red line..
    TIA
    God Bless

  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,640
    Maybe I'm missing something, but what is it you wish to test that determines whether or not to run the update?
    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. Cascading ComboBox Question
    By Kevo in forum Forms
    Replies: 14
    Last Post: 07-27-2011, 08:48 AM
  2. Cascading Combo Box Help
    By euphoricdrop in forum Forms
    Replies: 3
    Last Post: 04-12-2011, 05:35 PM
  3. Cascading combo boxes
    By combine21 in forum Forms
    Replies: 3
    Last Post: 12-02-2010, 12:57 PM
  4. cascading combo
    By rexb in forum Forms
    Replies: 9
    Last Post: 10-26-2009, 04:10 PM
  5. Cascading Combo Box
    By nywi6100 in forum Forms
    Replies: 0
    Last Post: 10-23-2006, 01:45 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