By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,473 Members | 3,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,473 IT Pros & Developers. It's quick & easy.

Conditional formatting in A2003

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
"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

P: n/a
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

P: n/a
"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.