ms access - Conditional formatting sees a difference between numbers that visually look the same -


in microsoft access 2013, have 2 textboxes on form containing currency format , 2 decimals compare.

for example: $25,100.50

if numbers visually identical, expect comparison box turn green. if visually different, expect comparison box turn red. however, box turns red though number visually identical. obviously, comparing rolled decimals. if make sure format currency, , decimal places same, shouldn't take care of it? how can tweak works every time?

instead of having conditional formatting expression

textbox1 = textbox2 

use

format(textbox1,"currency") = format(textbox2, "currency") 

Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

mouseevent - Catch mouse event on tree widget item in QTreeWidget -

Java JSoup error fetching URL -