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
How to convert / rip .mov movie video to DVD format
Find and Replace hundreds of line of VBScript code via SQL statement
Classic ASP Cookie Error
ASP.NET Show All Button not executing the Query
Print .xml document....ASP
VB script to open UNC application
MS Hyper-V R2 - Virtual 2003 Server cannot see all 4 allocated processors.
/dev/ch0 not recognized
User name
using date data in =CONCATENATE formula