Reports Issue
Hi All and a Merry Christmas
I am using the following code to run a report. Is there anyway that this code could prompt for a report selection rather than just one report
Dim stDocName As String
stDocName = "FrmReports"
If Len(Me.txtdatefrom & vbNullString) = 0 Or Len(Me.txtDateTo & vbNullString) = 0 Then
MsgBox "Please ensure that a report date range is entered into the form", _
vbInformation, "Required Data..."
Exit Sub
Else
DoCmd.OpenReport stDocName, acPreview
Thanks
Brendan Bartley
__________________
Brendan Bartley
|