RobSimpson
IS-IT--Management
Sorry if this has already been posted but I can't find the answer I need on the forum.
I have written a report that produces 25 pages, one for each person in the database. The report contains a couple of fields from the underlying query and a subreport pulling in information about the person from another table.
I would like to hide or show some 'non-content' items on each page of the report, boxes, labels etc depending on one of the fields in the query (hap - which is a true/false) but I can't work out which event on the property page of the report to use.
I was thinking of using the VBA line
me.box.visible = me!hap
but just can't get it to work. Probably something obvious but I just can't get it.
Any help gratefully received.
Robert
I have written a report that produces 25 pages, one for each person in the database. The report contains a couple of fields from the underlying query and a subreport pulling in information about the person from another table.
I would like to hide or show some 'non-content' items on each page of the report, boxes, labels etc depending on one of the fields in the query (hap - which is a true/false) but I can't work out which event on the property page of the report to use.
I was thinking of using the VBA line
me.box.visible = me!hap
but just can't get it to work. Probably something obvious but I just can't get it.
Any help gratefully received.
Robert