Conditional Formatting

Mar 13, 2005

I have 2 subforms on a main form. I would like to compare the value in field 1 og subform 1 to field 1 of subform 2. I can't seem to get the conditional foramtting between the 2 subforms to work. Any ideas?

Jim

View Replies


ADVERTISEMENT

Forms :: Default Formatting Option In Conditional Formatting Dialog?

Aug 1, 2014

Need to confirm whether the Default formatting option in the Conditional formatting Dialog won't work in datasheet view of a form. Please note that all conditional criteria are working fine but not the Default Formatting option - only in the Datasheet view (In Single Form view the default formatting is working fine)

View 11 Replies View Related

Conditional Formatting

Apr 18, 2006

Hi Guys,

I've a question and I hope you can help me out.......
I'm trying to use Conditional Formatting Options on a Text box called "Date". I'd like that this box become Red if its value is between value1 from Text box "Start Date" and value2 from Text box "End Date" or Green otherwise (in this way the color change dynamically every time I change the values of Text Boxes "Start Date " and "End Date"). How can I do that? What I need to type in the Conditional Formatting Windows?

Thanks a lot for you help!!!!

Ciao Ciao

View 1 Replies View Related

Conditional Formatting

Aug 13, 2007

Hello

On my Database I have used Conditional Formattion to change the colour of the qty to highlight when the qty is getting low however its not as good as I would hope as there are different type of definition of quantity (D of Q) e.g. Each (single items such as a screw) and Roll (such as cord and tape)

Conditional formatting doesnt work well because if I have it as less than 10 the qty is in red, its ok for the each items however not the roll as 10 rolls of tape is more than we would need.

I am just wondering if anyone knows what the code would be to change the colour depending on the qty and the D of Q

All i have got so far is:
If me.qty <10 and DofQ = EA then

Now im stuck for the change colour part

Any help would be great

View 13 Replies View Related

Conditional Formatting Help

Sep 2, 2007

Hi Guys,

I'm after an easy way on being able to change the colour of a field once it a certain figure is reached

For instance

Standard field colour for anything 1-99
100+ changes to red

Would any be able to help me out please?

View 2 Replies View Related

Conditional Formatting

Sep 8, 2005

Does anyone know if there is a way in a report to display an entire row in a different color? I'm running a report based on a query and I need specific information to come up in RED. I read about conditional formatting but you can only apply it to a field in a report, but not to an entire row. Let's say I have a group of managers and I need to know the ones that are making more than $50,000 a year. I don't just want the salary to come in RED, I need the entire row (like name, last name, title, date of hire, salary, etc).
Any ideas?

thanks!

View 2 Replies View Related

Conditional Formatting?

Mar 22, 2005

Good afternoon everyone
I am new to this forum. I have not done access development for about 6 years so I appologise for my rustiness.
I have created a form based on a query. The form is of type Datasheet. I have assigned Conditional formatting to the grid fields based on an expression evaluating a check box. This works fine and when I open the form the conditional formatting works great.

However, I am now trying to add this form as a subform in A.N Other form. The parent form has no datasource and is purely there to display some text values linked to unbound controls. I did this because apparently you cannot show form header for a datasheet view.
When I insert my child form into the parent there is no logical link. The behaviour of the form and subform works fine but the conditional formatting does not appear in the subform grid.
Why is this and how can I best sort this?
Any help would be appreciated, but please be aware I am not fluent in VB as I have been away for quite some time.

Bets regards
Philm

View 1 Replies View Related

Conditional Formatting

Mar 8, 2006

Hello!
I am stuck with a problem in my database.
I got a table that is looking like this:
On_Time
95%
96,88%
100%
100%
97,56%

There is more data there but this is the field i want to use. I got a form where i want a little box or something to be coloured in red if the average of all those percentages are below 95%. If its above 95% it should be green.
Can anyone help?

View 1 Replies View Related

Conditional Formatting

May 15, 2006

Hi. I have a problem with my conditional formatting. I have two fields field 1 (hours worked) and field 2 (hours per task). Field 1 shows the hours worked based on the difference between a start and finish time and field 2 shows the hours per tasked based on values assigned to the 10 task fields. I set the formatting of field 1 to show up in red if it did not match the value of field 2, which works fine most of the time. However, for certain values i.e. 5 or 6 field 1 still shows up in red even though field 2 has the same value i.e. both equal 6.

Could someone explain to me why this happens and offer a solution if possible.

Thanks for any help.

View 7 Replies View Related

Conditional Formatting

Oct 12, 2004

I have an Access form that is used for traffic counts. I have a total of 8 lanes of data entry rows (4 lanes each way).I have two text boxes that show the number of lanes in each direction for a specific location. I need the input forms to enable ONLY the number of rows displayed on the text box and disable the rest. I dont have a clue on how to do it. Tried conditional formatting. But the conditions overlap.

View 2 Replies View Related

Conditional Formatting

Oct 26, 2004

Hi,
I would like to format a report containg a PASS/FAIL field (electrical test results) so that the "Fail's" are printed in bold text, however when I use conditonal formatting #Name? is diplayed on the report instead of either Pass or Fail.
Any suggestions?

View 10 Replies View Related

Conditional Formatting

Feb 28, 2006

hi all

im trying to colour a cell that is null in datasheet view in a form. i can coulour values that are zero but i can't seem to find a way to colour null values.

any ideas??

View 2 Replies View Related

Conditional Formatting

Dec 6, 2006

How can I use conditional formatting to have a field change background colors if it is populated or stays white if left blank. Do I use field value, field has focus or expression.

View 1 Replies View Related

Conditional Formatting

Mar 10, 2007

Hi,
I upgraded from Access 2000 to 2003 - I don't appear to have the conditional formatting option on the format tab in document view and no fomat tab along the top in design view - any thoughts any one?

Regds

Brian

View 2 Replies View Related

Conditional Formatting

Jul 27, 2007

I have two fields in my report: jc_lvd & jc_lvsd. Both fields have the possibility of either a "Yes" or "No" answer in their fields. I've combined these two fields into one field like this: =[jc_lvf] & " / " & [jc_lvsd]. When each field has a "No" answer, I need to highlight the background. I'm not interested in any other combination, i.e. Yes/No, No/Yes, Yes/Yes, ONLY if the fields are No/No. I have done conditional formatting with just one field but having both these fields combined is throwing me off. Would it be better to have separate fields for each and if so.........how would I have the conditional formatting look at two fields at the same time and then highlight both fields if they met my No/No criteria? Thanks for any help.

View 11 Replies View Related

Conditional Formatting

Aug 6, 2007

I have a field that most likely will not have an entry in it, BUT, ocassionally it will. When the field does have an entry in it, the entry can be any number amount. I've worked with conditional formatting before where I have the field color a background if the field meets a certain criteria, no problem. What I need to do is have the background of the cell highlight if their is ANY entry in it at all and not highlight, of course, if the cell is empty. Thanks for any help.

View 4 Replies View Related

Conditional Formatting Format

Apr 18, 2006

Hi,

I am trying to place some code in the "expression is" section of conditional formatting. Need some help converting from code to conditional formatting format.

I have set up a check box "Check83" next to a standard control box "Title(O)".
Below is the code I am currently using. This code is in the after update section of the check box, and in the oncurrent section of the form.

This code turns the box blue when I click the check box.

Private Sub Check83_AfterUpdate()
If Me.Check83 Then
Me.[Title(O)].BackColor = vbBlue
Else
Me.[Title(O)].BackColor = vbWhite
End If
End Sub

My form has 46 records and all have check boxes linked to the control box with the code above. When the box is blue in record 1, I don't want there to be a blue box in record 2. Can't figure out how to do this. Tried to do in with code, but failed. Thought it may be possible using conditional formatting.

Thanks in advance for your help

Jcwishart

View 3 Replies View Related

Conditional Formatting Question...I Think.

Jul 18, 2005

I have two date fields, I have it set so that when you place a date in the first field, the second field will automatically set a date 90 days after. What I need is for the second field to change red when it has been surpassed by the current date.

Thank you.

View 4 Replies View Related

Help Needed With Conditional Formatting

Mar 31, 2007

I have read the Access Help page before posting here

I have a text box called TxtCharRemain formatted as general number
It displays how many more characters can be typed into a text box named TxtActionTaken
I want the contents to appear in red when TxtCharRemain is less than 1 (0 or negative)

but it doesn't it only displays 0 in red then all negative numbers in black

I have tried setting default color as red and formatting the text box to display in black when value is between 1 and 200 and this doesn't work as values less than 100 appear red and negative numbers appear red or black

any ideas?

View 2 Replies View Related

Ot - Conditional Formatting In Excel

Jan 2, 2008

sorry for OffTopic.

does anyone knows if its possible to put more then 3 conditional formatting conditions in Excel ?

View 1 Replies View Related

Conditional Formatting From Checkbox

Feb 2, 2008

In one of my forms I have used this code in the properties of a check box (with the names changed) to apply conditional formatting to a text box when the checkbox is ticked:


Private Sub Check14_AfterUpdate()
If Me!Check14 = True Then
Me!txtDesc.BackColor = vbRed
Me!txtDesc.ForeColor = vbBlack
Else
Me!txtDesc.BackColor = vbWhite
Me!txtDesc.ForeColor = vbRed
End If
End Sub



It works perfectly, except that when I apply a change to one record the same colour change is applied to all records in the form regardless of whether or not the checkbox has been ticked. What am I missing?

View 3 Replies View Related

Conditional Formatting Query

Mar 19, 2006

I have a query that brings up a job#, its start date (mm/dd/yyyy), and its
priority status (Low, Medium, or High).

Is there SQL I can use to make another query that will look at the start date,
and if it is a week old, change the priority status to Medium, and if it's a
month old, change the priority to High?

Thanks!!:)

View 4 Replies View Related

Conditional Formatting With A Query?

Feb 28, 2007

I have a query set up to prompt users when their license will expire (30 days out). Problem is that there are 2 types of licenses and some have different dates. I would like to have a report where I could see all the people that are about to expire either it be one license or the other or both. Thank you please help.

View 1 Replies View Related

Complicated Conditional Formatting?

Feb 17, 2005

In one of my forms I have a date field. I have a macro button to send that date to appear on an Outlook task.

Is it possible for my date field to appear in different coloured text once the macro button has been pressed, so that I know it's been sent and don't send it twice?

Now I know that for most of you experienced users out there, you would probably just make my macro do a loop?? so that all dates from the database reach Outlook, but I'm so new to this that the above method seemed possibly easier?!

Any ideas? Oh, here is the code used for my macro - so if anyone can tell me how and where I add code to loop this, please let me know!!!

Private Sub cmdOutlookRem_Click()
Dim OutlookApp As Outlook.Application
Dim OutlookTask As Outlook.TaskItem
Set OutlookApp = CreateObject("Outlook.Application")
Set OutlookTask = OutlookApp.CreateItem(olTaskItem)
With OutlookTask
.Subject = "Contact " & Me!Forename & " " & Me!Surname & ", " & Me!CompanyName
.Body = "Company Tel No: " & Me!CoTelNo & ", " & "Direct Line: " & Me!DirectLineinCo & ", " & "Mobile: " & Me!MobileNo
.ReminderSet = True
.ReminderTime = DateAdd("n", 2, Me!DateNextContact) 'Remind 2 minutes from now.
.DueDate = DateAdd("n", 5, Me!DateNextContact) 'Due 5 minutes from now.
.StartDate = DateAdd("n", 2, Me!DateNextContact)
.ReminderPlaySound = True
.ReminderSoundFile = "C:WindowsMediaDing.wav" 'Modify path.
.Save
End With
End Sub

View 3 Replies View Related

Conditional Formatting Question

Jun 2, 2005

I use this to calculate my percentage.
PerCent: IIf(IsNull(Sum([TotalEachOption]/[TotalCount])),"0.0%",Format((Sum([TotalEachOption]/[TotalCount])),"0.0%;-0.0%;0%"))

I get the result but it's a text data type. I try to use Conditioanl Formatting if > 70% is green and < 30% is red but it's mixed up between "7%" and 70% and 7%. Both percentage get the same color.

How to solve this problem?

Thanks!

View 1 Replies View Related

Conditional Formatting Through Code A2K

Sep 22, 2005

I am now using Access 2000+ to create new applications. I find myself limited in what conditional formatting can do. For example, I want to use a conditional format to change the text color to a certain shade of blue (12554099). Conditional formatting only gives me the choices of basic colors.

Can Conditional formatting be set through code?
Does anyone have any code examples?

Thanks

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved