Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reports on format events

Status
Not open for further replies.

Chance1234

IS-IT--Management
Jul 25, 2001
7,871
US
Got a report with about 10 columns, depending on what the value is in one of the headings, determines which columns i need to display.

has anyone got any good code examples of doing something similiar ?




Chance,

Filmmaker, gentleman and up for parole shortly
,
 
You can use code in the On Format event of a section to set controls to visible or not. I have no idea what you mean by "value is in one of the headings".

To get a more specific answer, I think you need to ask a more detailed question.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
In one of the headers i have a field called
bob for arguments sake.

If bob = "Green"

then i want the fields "One", "Two" visisble in the detail section

If bob = "Red"

then i want the fields "Two", "three" Visible in the detail section

Chance,

Filmmaker, gentleman and up for parole shortly
,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top