473,320 Members | 2,110 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,320 software developers and data experts.

Conditional Formatting in datasheet view

121 100+
Hi,

I have a sub form that i am applying conditional formatting to.

When a certain value is reached it turns the row red this all works fine apart from when i create a new record in the subform the pencil symbal appears next to the new record the next "pending" record that appears below that, with the asterix next to it, turns red also its only when you refresh the form it goes back to being white is there anyway of stopping the bottom row with the asterix turning red?

Thanks Phill
Feb 20 '09 #1
4 4854
missinglinq
3,532 Expert 2GB
We really to see what conditions you're using for the Conditional Formatting in order to help you.

Linq ;0)>
Feb 20 '09 #2
phill86
121 100+
The default formatting is set to the fill/back color is set to white

Expand|Select|Wrap|Line Numbers
  1. expression is [completedhours]>=[hourspercent]
if this is met then the fill/back color turns to red


Cheers Phill
Feb 20 '09 #3
missinglinq
3,532 Expert 2GB
The problem, I suspect, is that when a new record is created [completedhours] and [hourspercent] are both Null, which means they are equal, and hence the Conditional Formatting kicks in. Replacing the formatting condition

Expand|Select|Wrap|Line Numbers
  1. [completedhours]>=[hourspercent]
with

Expand|Select|Wrap|Line Numbers
  1. Not ([NewRecord]) And [completedhours]>=[hourspercent]
  2.  
works when I ran up a test db.

Linq ;0)>
Feb 20 '09 #4
phill86
121 100+
Hi Linq

Works a treat thanks


Phill
Feb 23 '09 #5

Sign in to post your reply or Sign up for a free account.

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...
1
by: deko | last post by:
I have a subform datasheet in which I want to bold the text of a field if another field in the datasheet meets certain criteria. I think I want to (select the field in question and) use something...
6
by: Allan Koch | last post by:
Dear NG, I would like to format a record in a subform, dependent on a value in one field. If one field in the record I show in a subform (datasheet view) is true I like to view that particular...
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...
5
by: Andrew Chanter | last post by:
Does anyone know a way you can use conditional formatting to create a banded style view as is commonly seen on the internet. (In othe words the first record appears on a gray background, the 2nd...
3
by: DFS | last post by:
Has anyone figured out how to apply more than 3 conditional formats to a datasheet (or continuous) view, or in lieu of that how to apply more than 3 conditional (based on a name) colors? I saw...
0
by: HJ | last post by:
In Access 2000 (ServiceRelease 1) I have a subform in Datasheet view. On one field I have applied conditional formatting: the back color is set to red, based on some condition. The problem is...
1
by: HJ | last post by:
In Access 2000 (ServiceRelease 1) I have a subform in Datasheet view. On one field I have applied conditional formatting: the back color is set to red, based on some condition. The problem is...
2
by: keri | last post by:
I would like to set up conditional formatting on a form. One of the fields on the form is a date (). If the calldate field is over 365 days ago I would like all the other fields on the form line...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.