Hi there,
I want to execute a SQL query in VBA such as
strSQL = "SELECT EmpName FROM Employee"
DoCmd.RunSQL strSQL
My questions are:
1. After I run the query, how do I access the returned recordset, i.e. "EmpName"?
2. Are there other ways to execute SQL query instead of DoCmd.RunSQL strSQL?
3. Is there a good guide/tutorial on this type of topic?
Thanks in advance!
-sjh
I want to execute a SQL query in VBA such as
strSQL = "SELECT EmpName FROM Employee"
DoCmd.RunSQL strSQL
My questions are:
1. After I run the query, how do I access the returned recordset, i.e. "EmpName"?
2. Are there other ways to execute SQL query instead of DoCmd.RunSQL strSQL?
3. Is there a good guide/tutorial on this type of topic?
Thanks in advance!
-sjh