What about a FAQ on formatting numbers for currency on forms? I've lost some hair on this one. If anyone has a good web site or even a book to pick up, your reply is valued.
My project is sales/mfg. oriented. In forms, I hate the way 1 to 6 decimal digits pop into view when the control as the focus. To solve this, I built FormatCurrency() into lower level forms, then discovered that the result seems to be a string, and then developed widespread failures in queries -- had to back fully out of that one.
This FAQ I'm imagining would start with the news that currency as a data type is unrelated to currency as a format. This insight has been late coming to me.
Hmm ... I don't think the whole rounding issue affects me (as I'm not converting yen to yeuros, or amortizing the mortgage on royalties, etc.). So what about using Fixed format (two decimal places) at the table and query level, and Currency formatting at the form level? Sorry for brainstorming on my own post ... but that is perhaps my answer, and perhaps you have some feedback on that.
[purple]_______________________________
[sub]Never confuse movement with action -- E. Hemingway [/sub][/purple]
My project is sales/mfg. oriented. In forms, I hate the way 1 to 6 decimal digits pop into view when the control as the focus. To solve this, I built FormatCurrency() into lower level forms, then discovered that the result seems to be a string, and then developed widespread failures in queries -- had to back fully out of that one.
This FAQ I'm imagining would start with the news that currency as a data type is unrelated to currency as a format. This insight has been late coming to me.
Hmm ... I don't think the whole rounding issue affects me (as I'm not converting yen to yeuros, or amortizing the mortgage on royalties, etc.). So what about using Fixed format (two decimal places) at the table and query level, and Currency formatting at the form level? Sorry for brainstorming on my own post ... but that is perhaps my answer, and perhaps you have some feedback on that.
[purple]_______________________________
[sub]Never confuse movement with action -- E. Hemingway [/sub][/purple]