D
Dave Elliott
I want to print via the option group using option 1 and option 2
For option value 1 print current record
For option value 2 print all records
Below code does not print ALL records for option 2, just one single record
what am I doing wrong?
If PrintCat = 2 Then
DoCmd.OpenReport "Deposits", acNormal
Else: DoCmd.OpenReport "Deposits", acNormal, "", "[RegisterID] =
[Forms]![Deposit Slip]![RegisterID]"
End If
PrintCat = Null
DoCmd.Close acForm, Me.Name
For option value 1 print current record
For option value 2 print all records
Below code does not print ALL records for option 2, just one single record
what am I doing wrong?
If PrintCat = 2 Then
DoCmd.OpenReport "Deposits", acNormal
Else: DoCmd.OpenReport "Deposits", acNormal, "", "[RegisterID] =
[Forms]![Deposit Slip]![RegisterID]"
End If
PrintCat = Null
DoCmd.Close acForm, Me.Name