S
Steve-O
I have a mod below that is trying to select records and
contain the query in the module (thanks to those who have
helped this far!). However, the module below doesn't
display the results? Does anyone have any idea why/can you
please tell me how to display the results? If this works,
this should be my last post. Thank you VERY much for your
help!
Option Compare Database
Sub SelectQuery()
Dim dbCurr As Database
Dim rsCurr As DAO.Recordset
Dim strSQL As String
Set dbCurr = CurrentDb()
strSQL = "SELECT Orders.*"
strSQL = strSQL & " FROM Orders"
strSQL = strSQL & " ORDER BY Product_ID;"
Set rsCurr = dbCurr.OpenRecordset(strSQL, dbOpenSnapshot,
dbReadOnly)
End Sub
contain the query in the module (thanks to those who have
helped this far!). However, the module below doesn't
display the results? Does anyone have any idea why/can you
please tell me how to display the results? If this works,
this should be my last post. Thank you VERY much for your
help!
Option Compare Database
Sub SelectQuery()
Dim dbCurr As Database
Dim rsCurr As DAO.Recordset
Dim strSQL As String
Set dbCurr = CurrentDb()
strSQL = "SELECT Orders.*"
strSQL = strSQL & " FROM Orders"
strSQL = strSQL & " ORDER BY Product_ID;"
Set rsCurr = dbCurr.OpenRecordset(strSQL, dbOpenSnapshot,
dbReadOnly)
End Sub