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
default printing on TS, server 2008 x64, xpsp3 w/rdp7
unable to send mail
Unknown reason for Error
self.close
SMC8648T Tigerswitch factory reset
Exchange 2007 Resource Mailbox hide organisers name
huge image file- how to handle it
can we have permissions on the list without having permissions on the site...
MYSQL custom Sorting
two ethernet to one motherboard, each ethernet is connected with a different isp. combination is needed