Results 1 to 7 of 7
  1. #1
    VeganLiving is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2013
    Posts
    13

    Question Cascading Combo Box question


    hello, I have 3 cascading combo boxes and I want one of the combo boxes to populate a corresponding value into a text box.
    I am putting .cboBox.column(1) into the text box but it doesn't work.
    Here is the sql for the combo box.
    SELECT DISTINCT NEXTGENERA_V_CMB_METAFIELDS2.DB_COL_NAME, NEXTGENERA_V_CMB_METAFIELDS2.BIZ_NAME, NEXTGENERA_V_CMB_METAFIELDS2.BIZ_DEF, NEXTGENERA_V_CMB_METAFIELDS2.DRVD_IND, NEXTGENERA_V_CMB_METAFIELDS2.BIZ_LOGIC, NEXTGENERA_V_CMB_METAFIELDS2.DB_OBJ_NAME
    FROM NEXTGENERA_V_CMB_METAFIELDS2;


    Please help I have trying to figure this out the past few days.

  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,652
    The syntax is here:

    BaldyWeb - Autofill

    make sure the column count property of the combo is correct.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    VeganLiving is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2013
    Posts
    13
    Yes the the column counts are correct. I have followed everything on your website(I have it book marked) but it doesn't seem to work. It has worked great in my other forms but when i try to do it in a form that has cascading combo boxes it won't work.

    Is there something I should know about .RowSource that could preventing the text box from getting populated.
    'this code for cascading combo boxes.' when a schema is chosen the list of tables(cbotablename) in that schema populates


    Private Sub ListSchema_AfterUpdate()
    Dim strSQL As String


    strSQL = "SELECT DISTINCT DB_OBJ_NAME " & _
    "FROM NEXTGENERA_V_CMB_METAFIELDS2 " & _
    "WHERE DB_SCH = '" & ListSchema.Value & "'"

    Me.ListTable.RowSource = strSQL




    End Sub

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Can you post the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    VeganLiving is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2013
    Posts
    13
    No I'm sorry I cannot.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Other thread by same poster may be related to this issue https://www.accessforums.net/forms/h...rds-37309.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by VeganLiving View Post

    ...I am putting .cboBox.column(1) into the text box but it doesn't work...
    Where/how, exactly, are you attempting to do this?

    Linq ;0)>

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

Similar Threads

  1. Question about Cascading combo box not pulling right
    By computer_man20037 in forum Programming
    Replies: 14
    Last Post: 05-10-2012, 02:49 PM
  2. cascading combo box question
    By elvin0809 in forum Forms
    Replies: 1
    Last Post: 10-23-2011, 11:52 AM
  3. Cascading ComboBox Question
    By Kevo in forum Forms
    Replies: 14
    Last Post: 07-27-2011, 08:48 AM
  4. Cascading Combo Box Help
    By euphoricdrop in forum Forms
    Replies: 3
    Last Post: 04-12-2011, 05:35 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