K
KonaAl
Hi,
Trying to loop through a combo box on a form which outputs a report. Any
help is appreciated. TIA.
Allan
Dim rs As Recordset
Set rs = Me.FindBranch
Do Until rs.EOF
Dim stDocName As String
Dim stFileName As String
stDocName = "rptScorecard"
stFileName = "p:\fp & a\operations metrics\BMP_" & Me.FindBranch &
"_" & Me.FindBranch.Column(1) & "_" & Me.FindPeriod & "_" & Me.FindYear &
".snp"
DoCmd.OutputTo acReport, stDocName, acFormatSNP, stFileName
rs.MoveNext
Loop
Trying to loop through a combo box on a form which outputs a report. Any
help is appreciated. TIA.
Allan
Dim rs As Recordset
Set rs = Me.FindBranch
Do Until rs.EOF
Dim stDocName As String
Dim stFileName As String
stDocName = "rptScorecard"
stFileName = "p:\fp & a\operations metrics\BMP_" & Me.FindBranch &
"_" & Me.FindBranch.Column(1) & "_" & Me.FindPeriod & "_" & Me.FindYear &
".snp"
DoCmd.OutputTo acReport, stDocName, acFormatSNP, stFileName
rs.MoveNext
Loop