You need to add criteria to the open report statement.
Start using Debug.Print statements or walk your code to see what you actually have, and not what you think you have.
Code:
Private Sub cmdDate_Click()
On Error GoTo Err_cmdDate_Click
Dim stRptName As String, stParam As String, stLinkCriteria As String, stDateRev As String, stDBpath As String, stFTPpath As String
Dim iPreview As Integer, iDialog As Integer, iIssue As Integer
iPreview = 0
iDialog = 0
stRptName = "Main_By_Date"
' If Me.cboDate.Column(1) > 43 Then
' stRptName = "rptMain_By_Date"
' End If
stDBpath = CurrentProject.Path & "\"
stFTPpath = stDBpath & "Gazette\"
iPreview = acViewPreview
iDialog = 0
If Me.ChkPreview Then
' iPreview = 2
iDialog = acWindowNormal
Else
iDialog = acHidden
End If
stParam = Format(Me.cboDate, "ddmmyyyy")
'stDateRev = "#" & Mid(stParam, 3, 2) & "/" & Mid(stParam, 1, 2) & "/" & Right(stParam, 4) & "#"
stDateRev = Format(Me.cboDate, strcJetDate)
stLinkCriteria = "[On_Date] = " & stDateRev
'Now need to pass in issue number as we need to change report for crew after issue 43
iIssue = Me.cboDate.Column(1)
' stLinkCriteria = "[On_Date] = #05/01/1967#"
'DoCmd.CopyObject , stParam, acReport, stRptName
DoCmd.OpenReport stRptName, iPreview, , stLinkCriteria, iDialog, iIssue
If Not Me.ChkPreview Then
DoCmd.OutputTo acOutputReport, stRptName, acFormatPDF, stFTPpath & stParam & ".pdf", False
DoCmd.Close acReport, stRptName
End If
'DoCmd.DeleteObject acReport, stParam
Exit_cmdDate_Click:
Exit Sub
Err_cmdDate_Click:
MsgBox Err.Description
Resume Exit_cmdDate_Click
End Sub