Andy Lacey
andy at minstersystems.co.uk
Thu Nov 18 08:09:02 CST 2004
Well I don't understand that. just tried it on a report and it worked fine. Do you want to post the whole line of code that errored? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving <accessd at databaseadvisors.com> To: 'Access Developers discussion and problem solving' <accessd at databaseadvisors.com> Subject: RE: [AccessD] Control reference question. Date: 18/11/04 13:49 > > Andy, > > I did try that. It gave me an error when ran. It also would not show me > visible or any of the other items you would normally see for a textbox. > > Thanks, > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Thursday, November 18, 2004 7:31 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Control reference question. > > > Bobby > Intellisense doesn't show FontBold but it's still there. Just put > Me!YourControl.FontBold=True in the subreport and it'll work fine. > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > <accessd at databaseadvisors.com> > To: 'Access Developers discussion and problem solving' > <accessd at databaseadvisors.com> > Subject: [AccessD] Control reference question. > Date: 18/11/04 13:09 > > > 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 > > > > > > > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2