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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Visible Property in Reports

Status
Not open for further replies.

EBox

Programmer
Dec 5, 2001
70
US
Using a report that references a Date field [Date], and Text fields [C1],[C2], and [C3], I am trying to set up the report so that [C2] and [C3] are not visible when Format([Date],"ddd") In ("Sun","Sat"), but I'm having trouble using the Visible property to do this. Anyone have any suggestions?

Also, as an extension of this- for the form entry into this table, is there a similar way to make [C2] and [C3] form fields not appear for the same criteria?

Thanks,
EBox
 
In the OnFormat, enter code that says if Format([Date],"ddd") = "Sun" or Format([Date],"ddd") = "Sun","Sat" then the visible properties of C1, C2 etc = No else the visible properties of C1, C2 etc = Yes

DancingDon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top