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
Weird PHP HTML table display problem
Adding a sata drive
WP wysiwyg editor (for web page viewing) EXTRA BLANK LINES
How update Yes/No filed in a table using a form
Getting a "Server Unavailable" error when trying to download address book. Microsoft office
Does Installing Dell OMSA on a Linux server require a reboot?
How to calculate this age criteria?
Backup Exec System Recovery 2010
Server 2003 demoting PDC and Primary DNS.
event code runs twice