1. Jochen Peters
  2. Report Editor
  3. Пятница, Август 18 2017, 02:46 AM
  4.  Подписаться через email
Help any idea

this is my query but on the reports,
i try to sum() one column and no works
i use the grouping on the report

Select invoicehd.invnum,invoicehd.fdate,caja.paytype,caja.amountpay,caja.amountchange,caja.stationid,invoicehd.custid,caja.userid,invoicehd.total
From caja inner join invoicehd on caja.cntid=invoicehd.payid where sdate >= '08-01-2017' and sdate <= '08-30-2017' and caja.stationid='01'
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
Report Example
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hi Alexis,

So you put summary control for "total" field into the group footer, right?
What type of this field?
What kind of DB used (MySQL, MS SQL Server...)?
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
yes
price real
PostgresSQL v9.5
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hmm, but the sum is correct.
So what is wrong? Formatting?
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
i use currency
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
You set Currency formatting for the summary control
Sum value is correct but without the currency symbol:
7.16

Right?
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
yes
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Strange, in my example it works.

Please show the properties of the summary control.
Вложения
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
ok
when i get home i check the propertis
Комментарий
There are no comments made yet.
Jochen Peters Ответ принят
Sergey Pashkov
i remake the report and now works

Big Thanks :D
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories