How do you get the orientation of a report(Portrait or Landscape) though code? I tried the code below but it always gives me zero.
Thanks
Don
Dim rpt As Access.Report
Dim iOrientation = rpt.Orientation
Set rpt = Reports("Report1")
iOrientation = rpt.Orientation
Thanks
Don
Dim rpt As Access.Report
Dim iOrientation = rpt.Orientation
Set rpt = Reports("Report1")
iOrientation = rpt.Orientation