A
Antinsh
Hi!
I'm want to create a function in Visual Basic .NET (framework 2.0) that can
check if report has landscape orientation or portrait. So far I only know how
to get hold of the report. Some thing like this works fine:
Dim report As Access.Report
If appAccess.CurrentProject.AllReports(x).IsLoaded = False
Then
appAccess.DoCmd.OpenReport(appAccess.CurrentProject.AllReports(x).Name,
Access.AcView.acViewDesign)
End If
report =
appAccess.Reports(appAccess.CurrentProject.AllReports(x).Name)
Question: is there any propertie that returns orientation.
P.S. There is a propertie named orientation, but it retorns either "left to
right", "right to left" which is not what i want.
I'm want to create a function in Visual Basic .NET (framework 2.0) that can
check if report has landscape orientation or portrait. So far I only know how
to get hold of the report. Some thing like this works fine:
Dim report As Access.Report
If appAccess.CurrentProject.AllReports(x).IsLoaded = False
Then
appAccess.DoCmd.OpenReport(appAccess.CurrentProject.AllReports(x).Name,
Access.AcView.acViewDesign)
End If
report =
appAccess.Reports(appAccess.CurrentProject.AllReports(x).Name)
Question: is there any propertie that returns orientation.
P.S. There is a propertie named orientation, but it retorns either "left to
right", "right to left" which is not what i want.