473,404 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Conditional formatting in A2003

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 [MyTickBox], if it's true then change the background
colour.

In A2000 it works great, but in A2003 the background doesn't always
change and when it does it only changes when the record looses the
focus.

Any way around this? Is it a bug? Or have they "improved" it?
--
regards,

Bradley
Nov 12 '05 #1
4 3104
"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in news:408ba540$1
@nexus.comcen.com.au:
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 [MyTickBox], if it's true then change the background
colour.

In A2000 it works great, but in A2003 the background doesn't always
change and when it does it only changes when the record looses the
focus.

Any way around this? Is it a bug? Or have they "improved" it?


Could there be other reasons?

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #2
Lyle Fairfield wrote:
"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in news:408ba540$1
@nexus.comcen.com.au:
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 [MyTickBox], if it's true then change the
background colour.

In A2000 it works great, but in A2003 the background doesn't always
change and when it does it only changes when the record looses the
focus.

Any way around this? Is it a bug? Or have they "improved" it?


Could there be other reasons?


Like? :)
--
regards,

Bradley
Nov 12 '05 #3
"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in news:408bb870$1
@nexus.comcen.com.au:
Lyle Fairfield wrote:
"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in news:408ba540$1
@nexus.comcen.com.au:
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 [MyTickBox], if it's true then change the
background colour.

In A2000 it works great, but in A2003 the background doesn't always
change and when it does it only changes when the record looses the
focus.

Any way around this? Is it a bug? Or have they "improved" it?


Could there be other reasons?


Like? :)


Well, suppose there is not a bug, nor an improvement. About 99.9999999999%
of all bugs suggested here are actually user error. Maybe yours isn't.

So, now what?

We are guessing.

And we are trying to interpret what you have said. My interpretation is
that you want the background color to change when you click MyTickBox. Does
Conditional Formatting activate when a control event occurs? My guess is,
"No". But this happened, (another interpretation of what you describe), in
Ac2K, and it does not happen in Ac2K3. So why might this change hace
occurred. Certainly one reason could be a bug or improvement in AC2K3.
Another could be that however the conversion from Ac2K to Ac2K3 was done,
the code behind the form was left behind. Not that? Then my next guess is
that the name of MyTickBox was changed.

In the end, I would try to write some on click code for MyTickBox which
would apply the conditional formatting to the text box. I'm not an expert
on conditional formatting for sure, but another guess is that Me.Refresh
should apply that Conditional Formatting.

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #4
Lyle Fairfield wrote:
"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in news:408bb870$1
@nexus.comcen.com.au:
Lyle Fairfield wrote:
"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in news:408ba540$1
@nexus.comcen.com.au:

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 [MyTickBox], if it's true then change
the background colour.

In A2000 it works great, but in A2003 the background doesn't always
change and when it does it only changes when the record looses the
focus.

Any way around this? Is it a bug? Or have they "improved" it?

Could there be other reasons?
Like? :)


Well, suppose there is not a bug, nor an improvement. About
99.9999999999% of all bugs suggested here are actually user error.
Maybe yours isn't.


I understand that...
So, now what?

We are guessing.

And we are trying to interpret what you have said. My interpretation
is that you want the background color to change when you click
MyTickBox. Does Conditional Formatting activate when a control event
occurs? My guess is, "No". But this happened, (another interpretation
of what you describe), in Ac2K, and it does not happen in Ac2K3. So
why might this change hace occurred. Certainly one reason could be a
bug or improvement in AC2K3. Another could be that however the
conversion from Ac2K to Ac2K3 was done, the code behind the form was
left behind. Not that? Then my next guess is that the name of
MyTickBox was changed.
I'm using the exact same database. No conversion, nothing.
In the end, I would try to write some on click code for MyTickBox
which would apply the conditional formatting to the text box. I'm not
an expert on conditional formatting for sure, but another guess is
that Me.Refresh should apply that Conditional Formatting.


I also have some code on the text box "onclick" event that sets the tick
box.

Interestingly, if I click on the tick box the conditional formatting
does not trigger at all it seams, even when the record loses focus.
But, if I click on the text box the conditional formatting seems to
occur _usually_ after the record looses the focus (I've tried pressing
requery, refresh manually and that doesn't do anything).
If I go out of the form and come back in the conditional formatting on
existing records is correct but changing them has the same problem.
--
regards,

Bradley
Nov 12 '05 #5

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

Similar topics

3
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
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
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...
8
by: Dimitri Furman | last post by:
Given: Access 2002/2003 A subform in datasheet or continuous view, placed on a tab page (this last may or may not matter) Conditional formatting applied to some controls on the subform - format...
2
by: Von Bailey | last post by:
I have a form where the conditional formatting is set on some fields to bold if certain conditions are met. However, when the conditions are met some of the data that is to bold is either not...
1
by: GGerard | last post by:
Hello Is there a way to use a variable in the Conditional Formatting of a Textbox? Example : I want the background of a textbox in a continuous form to change color when the value of...
8
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...
4
by: midlothian | last post by:
Hello, I have conditional formatting set up on a subform based on a calculated value in the underlying query. For instance, if Sales are >$1000, the query displays "Yes," otherwise it displays...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.