G
Guest
I have two lists boxes on my form.
first list:
queries from an acces query 3 fields circuit, route, number
second list
has two fields route, size
On this second list list I want to populate the rowsource using vb
my row source will look something like this:
txtroute = ???I need this to equal the route selected in the first list
strsql = "SELECT qryCircuitRoute.Route qryCircuitRoute.Size, FROM
qryCircuitRoute WHERE (((qryCircuitRoute.Route)=""" & txtroute & """));"
listCircList.RowSource = strsql
I do not have any fields saved to any table from the first list.
first list:
queries from an acces query 3 fields circuit, route, number
second list
has two fields route, size
On this second list list I want to populate the rowsource using vb
my row source will look something like this:
txtroute = ???I need this to equal the route selected in the first list
strsql = "SELECT qryCircuitRoute.Route qryCircuitRoute.Size, FROM
qryCircuitRoute WHERE (((qryCircuitRoute.Route)=""" & txtroute & """));"
listCircList.RowSource = strsql
I do not have any fields saved to any table from the first list.