G
Guest
Hope someone can help.
Yesterday I was directed to a very helpful link which allowed me to download
a database that demonstrates how to use multi-select list boxes.
I do not know VB but I started a new database, imported all the tables,
queries, forms and modules from this demo database. The main composition is a
form with a multiselect list box that is bound to a table. Next to it is a
subform which is bound to a query. The idea is that you can multi-select from
the list box and the results of your query result in the subform appear. The
sub-form is bound to a query with the following SQL:
SELECT Employees.*
FROM Employees
WHERE (((IsSelectedVar("frmMultiselectListDemo","lboJobTitle",[Title]))=-1));
I have successfully set up a list box bound to my own table and changed the
references in the event procedures to my own. All seems to be working fine
except when I test it, I can select from the multi-select list box but the
the results in the subform do not appear. It doesn't appear to be executing
the query that the sub-form is bound to. The SQL statement attached is
directly out of the demo database.
Would really appreciate some guidance!
Thanks
Angeline
Sydney
Yesterday I was directed to a very helpful link which allowed me to download
a database that demonstrates how to use multi-select list boxes.
I do not know VB but I started a new database, imported all the tables,
queries, forms and modules from this demo database. The main composition is a
form with a multiselect list box that is bound to a table. Next to it is a
subform which is bound to a query. The idea is that you can multi-select from
the list box and the results of your query result in the subform appear. The
sub-form is bound to a query with the following SQL:
SELECT Employees.*
FROM Employees
WHERE (((IsSelectedVar("frmMultiselectListDemo","lboJobTitle",[Title]))=-1));
I have successfully set up a list box bound to my own table and changed the
references in the event procedures to my own. All seems to be working fine
except when I test it, I can select from the multi-select list box but the
the results in the subform do not appear. It doesn't appear to be executing
the query that the sub-form is bound to. The SQL statement attached is
directly out of the demo database.
Would really appreciate some guidance!
Thanks
Angeline
Sydney