1. Jochen Peters
  2. Report Editor
  3. 金, 8月 18 2017, 02:46 AM
  4.  メールで購読
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