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
work, forces and vectors
Chart shows table info in an inverted order
Problem by using TFileStream: Save and Read ShortString in Delphi2010
My changes in on the notes local calendar is not replicating with the server
Last 3 tweets in WordPress
Bluetooth Encryption
Online Defrag - Exchange 2003
ESXi 4.0 - virtual machine sees only one CPU
unable to send mail
truncating table and updating from another table converting varchar to int and datetime