S
Sam Y.
From the Access help, it says that you can use a select statement in RunSQL.
My question is, how do you get the values of that select statement? For
instance if I select a dropdownlist which lists columns "ID, first name,
middle name, last name", is there a way I can make all those values show up
in the dropdownlist.text property? Or would it be the .value property?
To try to work around this problem, I want to do RunSQL to do a select
statement: "select first name, last name from employees where '" & empid =
dropdownlist.value & "'". The problem is, I don't know where the values are
returned after the RunSQL statement is executed. So I'm assuming you don't
get any returned values.
*This is for Access 2003. I'm using Access 2007, but saving as a 2003 mdb
file since not all the computers that will use this database do not have
Access 2007.
My question is, how do you get the values of that select statement? For
instance if I select a dropdownlist which lists columns "ID, first name,
middle name, last name", is there a way I can make all those values show up
in the dropdownlist.text property? Or would it be the .value property?
To try to work around this problem, I want to do RunSQL to do a select
statement: "select first name, last name from employees where '" & empid =
dropdownlist.value & "'". The problem is, I don't know where the values are
returned after the RunSQL statement is executed. So I'm assuming you don't
get any returned values.
*This is for Access 2003. I'm using Access 2007, but saving as a 2003 mdb
file since not all the computers that will use this database do not have
Access 2007.