Conditional page break in report

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?
 
F

Faircarp

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?
 

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

Top