473,765 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access 2003 - conditional formatting

17 New Member
Hi,

I have an access question.

it is possible to set a formula in access to check the current date - the date field.?

Kindly advise.

Regards
Raymond
Jun 21 '07 #1
7 3417
r035198x
13,262 MVP
Hi,

I have an access question.

it is possible to set a formula in access to check the current date - the date field.?

Kindly advise.

Regards
Raymond
Hi and welcome to TSDN. Hope you have a great time here. I'll move this to the access forum.
Jun 21 '07 #2
tdw
206 New Member
Hi,

I have an access question.

it is possible to set a formula in access to check the current date - the date field.?

Kindly advise.

Regards
Raymond
When you say "check the current date, what do you mean? Do you want a form to automatically fill in the current date? If so you would set the default value for that field to =date()
Jun 21 '07 #3
missinglinq
3,532 Recognized Expert Specialist
Your subject line includes conditonal formatting. What do you want Access to do in relation to the date?
Jun 21 '07 #4
wongray
17 New Member
Your subject line includes conditonal formatting. What do you want Access to do in relation to the date?
Thanks for all the feedback. Sorry if i say it wrong.

What I would like to do is to use the "Conditiona l formatting" in access 2003 to hightlight the color if the datefield in my data is over the current date. if the current date is over the datefield, it will turn into different color in my report.

Hope this explain better. thank you
Jun 23 '07 #5
missinglinq
3,532 Recognized Expert Specialist
I'm sorry, but you're still not being terribly clear.
hightlight the color if the datefield in my data is over the current date. if the current date is over the datefield, it will turn into different color
Not sure what you mean by "over" and you first state "data is over the current date" then "current date is over the datefield." But I think this will cover it.

In the Conditional Format Dialog box, under Condition select Field Value

Then for cases where the datefield value falls after today's date put
Greater Than -- Date()

For cases where the datefield value falls before today's date put
Less Than -- Date()

Good Luck!

Linq
Jun 23 '07 #6
wongray
17 New Member
Thank you all - it works
Jul 1 '07 #7
missinglinq
3,532 Recognized Expert Specialist
Glad we could help! ;0)>
Jul 1 '07 #8

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

Similar topics

3
5935
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 terminated by pressing ++ and then terminate the process. I searched the entire internet and found out that there could be two things wrong (both of them are mentioned in the bug list on the access
5
3090
by: Richard | last post by:
Hi, I have a form that take some time to load due to many comboboxes and at least 8 subforms. When I filter or sort the main form I get an error message and then Access shuts down. They ask if I want to send the error report to Microsoft. Has anybody seen this type of error message and what can I do to prevent it from happening. Am I doing something illegal in my code? It used to work but I have added conditional formatting to a subform...
4
6881
by: brAccess | last post by:
I recently installed Access 2003 and immediately noticed problems with applications that work fine in 2000 and XP. I use conditional formatting on continuous forms for a number of reasons. When these forms are opened in 2003, Access seems to go into a continuous loop. Has anyone else experienced this problem? Does anyone know of a solution short of not using conditional formatting in continuous forms? Here is an example:
4
2137
by: Wayne Aprato | last post by:
I have a simple database which was originally written in Access 97. When converted to Access 2000 file format it ran flawlessly in Access 2002. I've just tried to run it in Access 2003 and I am seeing the following behaviour: Some of the fields on the continuous main form which is a list of jobs with their related details "flicker". While this is going on the form seems to function as it should and isn't locked up. If I click and hold...
4
3139
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 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?
5
8968
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 on white, the third on gray etc etc.) I could write an expression based on the odd/even status of the primary key but this wont work when sorting and filtering is applied. Any suggestions gratefully received.
17
2069
by: Owen Jenkins | last post by:
I have an Access application that is being used by 150+ clients. I develop in 97, convert to 2000 and distribute as a 97 or 2000 mde, or 97 runtime. This limits me to 97 functions. My clients may use any one of Access 97, 2000, 2002, 2003 or 97 runtime. So that I'm not lingering too far behind, I'm thinking of developing in 2003, using 2000 file format and distributing a 2000 mde for users of Access 2000+. (I understand I'll need to use...
1
4232
by: dddsssdddsss | last post by:
A comment and a question To anyone who is using conditional formatting, beware that in Access 2007 the color pallette is not the same as the color pallette in Access 2003. So if you have a particular color you were using as a standard throughout your application, the only way to continue using that color is to code the color. Anyone else notice how forms in Access 2007 display the conditional formatting much slower than in Access...
5
1556
by: vircalendar via AccessMonster.com | last post by:
Here's a problem I haven't seen discussed. I have a continuous form with a conditional format for the background color of a text box. It had been working fine until I upgraded to Access 2003 SP3. Now, with no other changes, the color change for condition 1 doesn't work. Instead, the color displayed is my default color. Conditions 2 and 3 work as they always have. Has anyone seen this? -- Message posted via AccessMonster.com
3
1867
by: summerlw | last post by:
Access 2003 VB 6.5 I'm attempted to run conditional formatting on a date field based on the value in another field. I've steped through this code and it is recognizing the values correct and is even executing the code to set the back ground color. However when run the report I don't get any formatting. Any help would be appreciated! Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
0
9568
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10156
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9951
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6649
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.