I have a continuous form with a currency field (price) that I need to format it
to 4 decimal places if it is less than 1 and to 2 decimal places if it is greater than 1.
How difficult can this be?
However, the format stays as I want it ONLY in the current record.
All the other records inherit the current record's format, doesn't look good!
I can't figure a way to fix it. Can it be done?
Can anybody with enough experience, kindly asking, point me to the right direction?
Thank you!!
to 4 decimal places if it is less than 1 and to 2 decimal places if it is greater than 1.
How difficult can this be?
Code:
iif(int([me.price])=0,Format([me.price],"#,##0.0000€"),Format([me.price],"#,##0.00€"))
All the other records inherit the current record's format, doesn't look good!
I can't figure a way to fix it. Can it be done?
Can anybody with enough experience, kindly asking, point me to the right direction?
Thank you!!