Report Printing Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All~
I am trying to print 2 different letters based on a field in a table. What
would the code be to say:
If "Filed_1" = True
Print Letter_A
Else
Print Letter_B
End If

Thanks to all who reply!!
 
If Field1 = true Then
DoCmd.OpenReport "SomeReportName", acViewNormal
Else
DoCmd.OpenReport "SomeOtherReportName", acViewNormal
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top