Web Development
Discussion Locked
0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
here's my situation. i have a listbox that displays data from a query. the query pulls from 5 different tables. i am trying to code combo boxes below the listbox to change the values of the columns in the listbox, but am not successful. is it possible to edit values a query returns, and if so, will it update the table it pulled from? new to vba here :-).
1 reply
by donq
What you want to do is a common practice. Each Combo box has a "Row Source" property that can be set to any select statement (or query).
If you are changing column count or format (width)as well you'll need to update the Column Count, Column Widths, Bound Column, and List Widthe properties - etc.
Build little queries tat do what you want and copy their SQL to the clipboard (and/or Row Source property of a Combo box). Past desired results into a Case Select based on user choices from your List Box's After Update event tp populate any or all variable combo boxes (along with any other revised property settings).
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
1 helpful
12 replies
0 helpful
1 reply
1 helpful
4 replies
0 helpful
0 replies
0 helpful
0 replies