473,386 Members | 1,962 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,386 software developers and data experts.

Color Fill in Cells

Hello, I am currently deployed in Iraq and am trying to create a database for tracking awards. I am trying to highlight all cells in my form whose status has been in one place for more than x days.
I can use conditional formatting to change the individual date cells but I am not sure how to get all cells in that record to turn green, yellow or red if one of the conditions is met.
Here is a short version of my table.
Fields: Name
Award
DTG to S-1
DTG to BDE
DTG to MNC-I
Status

If DTG to S-1 > 15 days from today fill all fields yellow
If DTG to S-1> 30 days from today fill all fields red
same for other locations

If Status = complete fill all cells green

Thanks for any help you can give let me know if you need more details
Feb 11 '07 #1
5 4599
MSeda
159 Expert 100+
you can write a condition based on the value of another contrl. choose "expression" on the conditional formatting window andjust enter the formula like text1 <= date() - 10.
Feb 11 '07 #2
Thanks that was too easy!!
Now my question is some fields such as unit and award type are based on another table and are a dropdown box in my form, which does not allow me to do conditional formatting, it doesnt even come up as an option. Is there a way to resolve this?
Feb 11 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
Thanks that was too easy!!
Now my question is some fields such as unit and award type are based on another table and are a dropdown box in my form, which does not allow me to do conditional formatting, it doesnt even come up as an option. Is there a way to resolve this?
The conditional formatting on a combo box shouldn't be a problem. It should be an option available. What are you trying to do?
Feb 12 '07 #4
For some reason conditional formatting isnt even an option for me when I right click oncertain cells such as rank.
Feb 12 '07 #5
MMcCarthy
14,534 Expert Mod 8TB
For some reason conditional formatting isnt even an option for me when I right click oncertain cells such as rank.
What is the control type of rank?
What is the control source set to?
What is the datatype and format of this control?
Feb 12 '07 #6

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

Similar topics

2
by: Marian Aldenhövel | last post by:
Hi, Short question: Is it possible to write a CSS-Style that formats <INPUT TYPE=TEXT>-Elements in Table-Cells in a way that they use all the horizontal space available? Long question: I...
1
by: Thanks | last post by:
I have a routine that is called on Page_Init. It retrieves folder records from a database which I display as Link Buttons in a table cell. I set the table cell's bgcolor to a default color (say...
0
by: Peppie | last post by:
Hi, I have dropdown control on my form and after the onchange event I reload a datagrid and fill a textbox embedded in a cell with the text from the invisible next column. Unfortunately the text...
3
by: ruca | last post by:
hi, How can I fill some DataTable by clicking in cells of a DataGrid control? NOTE: I don't want to select a entire row, ok? I must select only one or more cells... I have a DataGrid that...
0
by: kobycool | last post by:
hello, I want to fill values into cells using c#. I have jagged array object, lets say object obj; and I want to put the vlaues from this object into excel cells lets say : A2$A3:B2$B3 1 ...
10
by: Immortalist | last post by:
Various aquisition devices that guide learning along particular pathways towards human biases. And as E.O. Wilson might say mental development appears to be genetically constrained. (1) Language...
10
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
I understand how to connect a SqlDataSource to a GridView and have a nice data-connected, paginated web page generated with virtually no coding. Starting from that base, I would like to add an...
3
by: Christian | last post by:
Hi, i create aprogram that load a table from Access DB. i want color rows with different color but when i run the program and i load the datagridview the first time, the rows are white! only when...
1
by: AAaron123 | last post by:
I have a asp.table. The table is in a master One of the cells contains a text box. I fix the box's height. When the page opens depending on what is in the other cells the box may determine the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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...

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.