I'm trying to figure out a way to automatically view the datasheet results of this query on top of, or within a single page form when the query is finished.
It must be a simple thing, right?
Rick ~ Access Newbie
It must be a simple thing, right?
Code:
Option Compare Database
Option Explicit
Private Sub Command14_Click()
End Sub
Private Sub QueryForReports_Click()
On Error GoTo Err_QueryForReports_Click
Dim stDocName As String
stDocName = "DuplicatesOcMonthlyData"
DoCmd.OpenQuery stDocName, acNormal, acEdit
Exit_QueryForReports_Click:
Exit Sub
Err_QueryForReports_Click:
MsgBox Err.Description
Resume Exit_QueryForReports_Click
End Sub
Rick ~ Access Newbie