Microsoft
Software
Hardware
Network
Question : VBA creating a recordset with a query source
How can I create a recordset using a saved query (Query8) as the source? Here is what I'm trying to run:
Set rs = db.OpenRecordset(Query8)
I'm troubleshooting some sql that won't run and I'm trying to run this known-good-query in it's place.
Thanks for any help!
Lynn
Answer : VBA creating a recordset with a query source
dim rs as dao.recordset, db as dao.database
set db=currentdb
Set rs = db.OpenRecordset("Query8")
if rs.eof then
msgbox "No records"
end if
Random Solutions
"Unable to read RD Gateway Server Settings" when trying to configure RD Gateway
Left and right sidebars stuck in middle of site
HTML - Frames - how to make the heading frame to show the full pictures in iit?
How do I create a script that can move files to an existing directory based on filename?
Exchange 2003 drive no longer accesible
If then statement appears to not be assigning values to some entries
After updating still in update mode
Drupal Admin account issue
How to download and install/register ActiveX
JQuery suggestions for dynamic buttons in Modal Window