Dan Waters
dwaters at usinternet.com
Thu Nov 18 09:52:19 CST 2004
Bobby, I believe that the Print event is too late in the sequence of report events. Try using the section's Format event or the report's Activate event. You could also try using Conditional Formatting! Dan Waters ProMation Systems -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Thursday, November 18, 2004 7:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Control reference question. Hi all, I have a report with several sub reports on it. I had to modify a sub report yesterday so that if a certain condition was met, I needed to make the text in 2 fields bold. The detail print event is where I was changing it at. In a non sub report, I just use the fontbold property. Well, in the case of the sub report, I could not set this value (or any normal value) programmatically. Intellisense would not show me what I wanted. I ended up using reports!MainReport!Subreport!control to set the fontbold property. My question is, is that the proper way to handle this? Or is there something that I am not seeing? Thanks, Bobby