In Lesson 3 at the 10:57 mark, is it possible to the format property for AvgSales set as currency to see it rounded? I realize if you were working with numbers that were not currency this would be confusing, but in this case...?
Sure. Just add the Round function. AvgSales: Round(Quantity * UnitPrice). If that doesn't work, you might have to feed the results from this query into a second query and do the rounding there. I'd have to test it to be sure, and it's 3am and my brain is starting to shut down. LOL. Give it a shot and let me know.
Neal GroelingOP
@Reply 6 years ago
Richard, thanks for the reply. I actually just went into the query and opened the properties for AvgSales, set the format to currency, and ran the query. Without adding ROUND, it turned it into a rounded currency in the results. On another note, I've noticed that in some queries when selecting a column, under properties and format, there are no choices and the dropdown does not work. Any ideas why? BTW, my brain quits at 10pm.
Be careful with JUST formatting a value as currency. The true value of the field might contain a fraction of a penny which isn't in the display, but still in the value. When you add up all your values it's then wrong. Superman III all over again. ROUND ensures that each value is actually rounded.
Oh, Superman III was an awful movie, and no, that was not a good role for Richard. He was a comedy icon and I loved his stand-up, but that movie was just silly. Sup 1 & 2 were good. 3 & 4 were garbage.
Neal GroelingOP
@Reply 6 years ago
Agree Completely! Still, it's interesting the number of people who were inspired by III to try skimming schemes of their own...
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 11.