Results 1 to 7 of 7

Help with excel vba form sql cascade comboboxes

Threaded View

  1. #2
    Forum Contributor
    Join Date
    02-25-2022
    Location
    Dallas, Texas
    MS-Off Ver
    Office 365
    Posts
    174

    Re: Help with excel vba form sql cascade comboboxes

    I think you want this:

    sql = ""
    sql = sql & "SELECT subcriterio_id, " & vbCrLf
    sql = sql & "       Subcriterio " & vbCrLf
    sql = sql & "FROM   tb_subcriterio AS sc " & vbCrLf
    sql = sql & "       INNER JOIN tb_criterios c " & vbCrLf
    sql = sql & "               ON sc.criterio_id = " & cmb_criterio.Text & vbCrLf
    sql = sql & "ORDER  BY Subcriterio"
    Last edited by mogul; 08-18-2022 at 12:26 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Cascade drop down list excel linked
    By mak81 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-11-2023, 04:04 AM
  2. [SOLVED] VBA loop through form control comboboxes
    By lynnsong986 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-05-2020, 12:36 PM
  3. [SOLVED] On form, I need multiple comboboxes to pull different info
    By argentraven in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2016, 04:51 PM
  4. User form dependant comboboxes
    By Vrhovni Bog in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2013, 05:04 AM
  5. User Form with repetitive comboboxes
    By 00Able in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-22-2011, 03:08 PM
  6. Excel form comboboxes to pulling data from access
    By bob7777 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2008, 08:45 PM
  7. Excel auto cascade Info
    By daisosasen01 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 08-22-2006, 01:50 PM

Tags for this Thread

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1