What command button code will cause this procedure to run.

What command button code will cause this procedure to run. Specifically, I don't understand what the "subject" parameter means.

Public Sub RunReport(Subject As String, Optional Preview As Variant)
Dim Access As Object
If IsMissing(Preview) Then Preview = False
Set Access = CreateObject("Access.Application")
With Access
.OpenCurrentDatabase filepath:=stsarkis.mdb
If Preview Then 'preview report on screen
.Visible = True
.DoCmd.OpenReport Subject, acPreview
Else 'print report to printer
.DoCmd.OpenReport Subject, acNormal
DoEvents 'allow report to be sent to printer
End If
End With
Set Access = Nothing
End Sub

Who is Participating?

The parameter "Subject" appears to be the name of the report to open. When using this sub routine you need to pass a string containing the name of the access report you wish to open.

this appears to be a sub routine called by some other procedure. It has no event associated with it (i.e. cmdPrint_Click) this appears to be a "Print Module" if you will. When different reports are chosen (proablably one button per report) then that button sets the string to the report name desired and calls this sub to actually open the report.