The problem with this code:
If ckbPortrait = True Then
DoCmd.OpenReport "rptPrintRemarksPort", acViewPreview, , , , "Category
Print Remark of Horse"
Else
DoCmd.OpenReport "rptPrintRemarks", acViewPreview, , , , "Category
Print Remark of Horse"
is that you have the DoCmd.OpenReport taking 6 arguments, when it only
accepts 4 arguments!
--
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200705/1