First time here? Check out the FAQ!
I'm trying to setup a query that displays MemberID and Total Payments in two columns.
That part I've done quite easily. What I need to do is display the Total Payments column in dollar format. The field is stored in the table as "Double", my SQL Statement currently is " SELECT "MemberID", SUM( "PaymentAmount" ) AS "Total Payments" FROM "Payments" GROUP BY "MemberID" ORDER BY "MemberID" ASC "
I've done some more testing. If I remove the "SUM" syntax and just show the "Payments" field it displays in currency format. It appears that something in the "SUM" command is stripping out the currency format.
Thanks
Hi @aburrow,
Do you think that there's something wrong with what SUM() is returning to you?
Please try installing the latest release of LO and see if that shows the same problem.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-07-12 13:40:05 +0200
Seen: 103 times
Last updated: Mar 06
LibreOffice Base is not giving me the option to add vertical scrollbar to a memo field?
How to copy Biblio from Windows to Ubuntu?
Migrate an ODB database to SQL server?
In Base, what is the advantage or purpose of creating a relationship between two tables?
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.