K kanjeep Registered User. Local time Today, 09:06 Joined May 21, 2007 Messages 19 Jun 5, 2007 #1 I am needing to set the conditional formatting on a report dependant on values being 1,4,7,10 or 2,5,8,11 or 3,6,9,12. Is there any way I can do this inside the formatting tool? If i put commas between the numbers it tells me it is invalid.
I am needing to set the conditional formatting on a report dependant on values being 1,4,7,10 or 2,5,8,11 or 3,6,9,12. Is there any way I can do this inside the formatting tool? If i put commas between the numbers it tells me it is invalid.
pbaldy Wino Moderator Staff member Local time Today, 09:06 Joined Aug 30, 2003 Messages 36,272 Jun 5, 2007 #2 Don't know if you can use an In clause in conditional formatting, but try it: Field In(1,4,7,10) If it doesn't work, you'll need to do this: Field = 1 OR Field = 4 OR ...
Don't know if you can use an In clause in conditional formatting, but try it: Field In(1,4,7,10) If it doesn't work, you'll need to do this: Field = 1 OR Field = 4 OR ...
K kanjeep Registered User. Local time Today, 09:06 Joined May 21, 2007 Messages 19 Jun 5, 2007 #3 Only three 'conditions' are available for this formatting. No 'In' clause is available(although that would be nice).
Only three 'conditions' are available for this formatting. No 'In' clause is available(although that would be nice).
pbaldy Wino Moderator Staff member Local time Today, 09:06 Joined Aug 30, 2003 Messages 36,272 Jun 5, 2007 #4 I know there are only 3 conditions, but each can have "And" & "Or" clauses within it.
K kanjeep Registered User. Local time Today, 09:06 Joined May 21, 2007 Messages 19 Jun 5, 2007 #5 I tried using the "Or" clause and it allows it but the conditions aren't met. Condition 1 Field Value Is equal to 1 Or 4 Or 7 Condition 2 Field Value Is equal to 2 Or 5 Or 8 Condition 3 Field Calue Is equal to 3 Or 6 Or 9
I tried using the "Or" clause and it allows it but the conditions aren't met. Condition 1 Field Value Is equal to 1 Or 4 Or 7 Condition 2 Field Value Is equal to 2 Or 5 Or 8 Condition 3 Field Calue Is equal to 3 Or 6 Or 9
pbaldy Wino Moderator Staff member Local time Today, 09:06 Joined Aug 30, 2003 Messages 36,272 Jun 5, 2007 #6 Look at how your structure is different than the example I gave you (hint, you want "Expression Is" rather than "Field Value Is").
Look at how your structure is different than the example I gave you (hint, you want "Expression Is" rather than "Field Value Is").
K kanjeep Registered User. Local time Today, 09:06 Joined May 21, 2007 Messages 19 Jun 5, 2007 #7 Changed to 'Expression is' and now all rows are met by Condition 1 and should'nt be. My field values are 1,2,3,4,5,6,7,8,9,10,11,12. Condition 1 Expression Is 1 Or 4 Or 7 or 10 Condition 2 Expression Is 2 or 5 Or 8 Or 11 Condition 3 Expression Is 3 Or 6 Or 9 Or 12
Changed to 'Expression is' and now all rows are met by Condition 1 and should'nt be. My field values are 1,2,3,4,5,6,7,8,9,10,11,12. Condition 1 Expression Is 1 Or 4 Or 7 or 10 Condition 2 Expression Is 2 or 5 Or 8 Or 11 Condition 3 Expression Is 3 Or 6 Or 9 Or 12
pbaldy Wino Moderator Staff member Local time Today, 09:06 Joined Aug 30, 2003 Messages 36,272 Jun 5, 2007 #8 It should look like: [FieldName] = 1 OR [FieldName] = 4 OR [FieldName] = 7 OR [FieldName] = 10 replacing "FieldName" with the actual name of the field.
It should look like: [FieldName] = 1 OR [FieldName] = 4 OR [FieldName] = 7 OR [FieldName] = 10 replacing "FieldName" with the actual name of the field.
boblarson Smeghead Local time Today, 09:06 Joined Jan 12, 2001 Messages 32,059 Jun 5, 2007 #9 pbaldy said: It should look like: [FieldName] = 1 OR [FieldName] = 4 OR [FieldName] = 7 OR [FieldName] = 10 replacing "FieldName" with the actual name of the field. Click to expand... And, just in case it wasn't clear, keeping the brackets.
pbaldy said: It should look like: [FieldName] = 1 OR [FieldName] = 4 OR [FieldName] = 7 OR [FieldName] = 10 replacing "FieldName" with the actual name of the field. Click to expand... And, just in case it wasn't clear, keeping the brackets.
K kanjeep Registered User. Local time Today, 09:06 Joined May 21, 2007 Messages 19 Jun 5, 2007 #10 Now THAT makes sense!!!! Thanks Paul!!!!