[AccessD] Control reference question.

John W. Colby jwcolby at colbyconsulting.com
Thu Nov 18 08:24:26 CST 2004


My take was always that the ones that are not visible are "undocumented" -
perhaps lingering bugs make their usage a potential maintenance issue.

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings
Sent: Thursday, November 18, 2004 9:06 AM
To: Access Developers discussion and problem solving
Subject: RE: [AccessD] Control reference question.


Reports have several properties not shown in intellisense.

Visible is one.  I use it all the time though.  There are several I use not
shown, but work perfectly.

I can't give you a solution but I can ensure you that you aren't nuts.

If the condition to check is on the main form I reference the subform using
me.subreportname.controlname.property = whatever

Does anyone have an explanation for the lack of properties showing in
intellisense?  Is it corrected in versions after 2000?

Reuben Cummings
GFC, LLC
phone: 812.523.1017
email: reuben at gfconsultants.com


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid
Sent: Thursday, November 18, 2004 8:49 AM
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] Control reference question.


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


-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com






More information about the AccessD mailing list