473,508 Members | 2,396 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Conditional Formatting w/Multiple text boxes

(acc 2002)

I've got six unbound text boxes on a subform that has a white
background. Each of those six boxes has an expression that when true,
will change its background from white to another color. These text boxes
need to go behind a single line of other bound text boxes (which show
the actual record). I.e., the purpose of the unbound text boxes
w/conditional formatting is to highlight the record/background with one
of six colors.

The problem is I don't know how to stack all the unbound text boxes
behind each other without hiding each other. The background can't be
transparent since that is what the conditional format changes.

Anyone have any suggestions as to how I can hide/show a text box stack
on others? (I've tried "send to back" which will not work due to the
unbound text box's non-transparent background).

John

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
2 8908
You don't need to use those extra controls to change the back color of the
control's that contain the data.

If you have Access 2002, use the control's conditional formatting property.

Select the data control.
Click Format + Conditional Formatting.
Set the Condition 1 drop-down box to
Expression Is
Write the expression in the text box along side the
drop-down (do NOT use the = sign).
Set the back color to whatever you want.
Save the change.
Do the same for each control.
--
Fred

Please reply only to this newsgroup.
I do not reply to personal e-mail.
"John Kreps" <de***********@deletethiskreps.mailsnare.net> wrote in message
news:3f***********************@news.frii.net...
(acc 2002)

I've got six unbound text boxes on a subform that has a white
background. Each of those six boxes has an expression that when true,
will change its background from white to another color. These text boxes
need to go behind a single line of other bound text boxes (which show
the actual record). I.e., the purpose of the unbound text boxes
w/conditional formatting is to highlight the record/background with one
of six colors.

The problem is I don't know how to stack all the unbound text boxes
behind each other without hiding each other. The background can't be
transparent since that is what the conditional format changes.

Anyone have any suggestions as to how I can hide/show a text box stack
on others? (I've tried "send to back" which will not work due to the
unbound text box's non-transparent background).

John

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #2

I don't believe I can utilize the condition formatting "wizard" in
Access 2002 since I have more than 3 conditions...I have six, which is
why I created six text boxes each with its own expression. I just can't
get the "highlighting" textbox to show from behind the other 5.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5920
by: Jouke Langhout | last post by:
Hello all! For quite some time now, I've got the following problem: Access won't close properly when a user closes the application. An ACCESS process stays active and that process can only be...
4
3115
by: Bradley | last post by:
I have an A2000 database in which I have a continuous form with a tick box. There is also a text box with a conditional format that is based on the expression , if it's true then change the...
2
5822
by: Megan | last post by:
Can you write conditional VBA code that affects only one or two records on a continuous subform? I have a form with a subform on it. The parent/ child field that links the forms is CaseID. The...
4
5599
by: mugen | last post by:
i've been trying to get conditional formatting to work via a tick box. this is on a form i have a text box that i'd like to have the background colour change based on a tick box. the text box...
8
8461
by: Typehigh | last post by:
I have many text fields with conditional formatting applied, specifically when the condition is "Field Has Focus". Without any events associated with the fields the conditional formatting works...
11
3470
by: tg989 | last post by:
Okay, here goes. Continuous forms... possibly the best feature of access. The only downside is this: the only way to have a conditional evaluation run on each record invididually is by...
4
8917
by: slinky | last post by:
Thanks in advance... I have a continuous style form with a field for each record called "STATUS". I simply want to have the form load and if the value of the textbox is "Inactive" I want the...
2
3269
by: robertng90025 | last post by:
I'm having a problem with MS Access 2003 and its conditional formatting. I have textboxes on a continuous form whose left and right margins are set to 0.03 inches. Based on each textbox's...
1
2485
by: Earl Anderson | last post by:
A business colleague and I are collaborating 'long distance' on an applet for work. He is doing the programming and I am doing the business process form design. We had discussed my desire to make...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7379
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7493
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.