Share via

Conditional Formatting with "IsNumeric"

Anonymous
2012-12-12T18:51:13+00:00

Hello All,

I'm currently in the middle of having a rather fierce battle with Access 2010's conditional formatting. Does anyone happen to know if there's a way to incorporate the "IsNumeric" filter in conditional reporting?

As some background: I have a temp table full of results that are either numeric or text (the difference being the presence or absence of the "<"). I would like my conditional formatting to search the field in question and bold everything that is numeric (i.e. does not have the "<" with it). Is that possible? Am I missing something simple? 

Thanks in advance!

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2012-12-12T22:25:51+00:00

Create a form (or report) based on the table.

Open it in design view.

Select the text box bound to the field.

Activate the Format tab of the ribbon.

Click Conditional Formatting > New Rule...

Select 'Expression Is' from the first dropdown.

Enter the expression   IsNumeric([FieldName])   in the box next to it, where FieldName is the name of the text field.

Click to highlight the B (bold) button.

Click OK.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2012-12-13T13:39:17+00:00

    That's wonderful! Makes me feel mildly ridiculous but it's absolutely great. Thanks so much!!

    Was this answer helpful?

    0 comments No comments