Conditional page break in report

  • Thread starter Thread starter Faircarp
  • Start date Start date
F

Faircarp

Trying to add conditional page break in Access 2003 report. Following
instructions found in
<http:\\office.microsoft.com/en-us-assistance/HP051873361033.aspx>. My
OnFormat event procedure statement "Me![CondPgBreak].Visable = False"
results in "Runtime Error '438', Object doesn't support this property or
method." It is my understanding that the only way to switch the page break
control on and off is by means of the Visable property. If I'm not allowed
to set the Visable property this would all seem to be a wasted exercise. Am
I missing something?
 
Yes, misspelling was definitely a factor (I'm embarrassed). In addition, my
OnFormat event was in the Detail section of the report; it should have been
in the Report Header. Now that I have these problems taken care of I can
move on to the question of a conditional test in the Detail section to make
the PageHeader visible again. Thanks for your helpful proofreading.

Klatuu said:
could it be that you are misspelling visible as visable?

Faircarp said:
Trying to add conditional page break in Access 2003 report. Following
instructions found in
<http:\\office.microsoft.com/en-us-assistance/HP051873361033.aspx>. My
OnFormat event procedure statement "Me![CondPgBreak].Visable = False"
results in "Runtime Error '438', Object doesn't support this property or
method." It is my understanding that the only way to switch the page
break
control on and off is by means of the Visable property. If I'm not
allowed
to set the Visable property this would all seem to be a wasted exercise.
Am
I missing something?
 
Back
Top