A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Keeping the control's properties same for each page..



 
 
Thread Tools Display Modes
  #1  
Old July 11th, 2006, 03:41 PM posted to microsoft.public.access.forms
Appache
external usenet poster
 
Posts: 29
Default Keeping the control's properties same for each page..

I have a form and check boxes on the form. When checkbox is checked the text
turns to red. However, when I go to next record and come back to previous
record text shows up black again..How can I keep the text's color property
red always if the checkbox is checked?

--
Thanks
  #2  
Old July 11th, 2006, 03:52 PM posted to microsoft.public.access.forms
Barry Gilbert
external usenet poster
 
Posts: 379
Default Keeping the control's properties same for each page..

I'm not sure how you're affecting the text's color, but you should look into
Conditional Formatting. You can't use conditional formatting on checkboxes,
but you could add a textbox and format it to look like a label. Use
conditional formatting on it to look at the value of your boolean field and
changes it's forecolor.

Barry

"Appache" wrote:

I have a form and check boxes on the form. When checkbox is checked the text
turns to red. However, when I go to next record and come back to previous
record text shows up black again..How can I keep the text's color property
red always if the checkbox is checked?

--
Thanks

  #3  
Old July 11th, 2006, 03:56 PM posted to microsoft.public.access.forms
Jeff L
external usenet poster
 
Posts: 448
Default Keeping the control's properties same for each page..

You must have an event that changes the text to red when you update the
checkbox. You might try using that same code, except put it in the On
Current Event of the form. You might want to take a look at
conditional formatting in Help too. With Conditional Formatting you
can keep the text red at all times and it does not matter if the record
has the focus or not.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.