[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] different types and printposition
- Subject: Re: [sqr-users] different types and printposition
- From: Donald Mellen <donm@ontko.com>
- Date: Thu, 15 Mar 2007 11:49:41 -0400
- Delivery-date: Thu, 15 Mar 2007 11:54:25 -0400
- In-reply-to: <45F96538.5060209@master.topsystem.de>
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- References: <45F96538.5060209@master.topsystem.de>
- User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
It looks like your total is printing at 443, but should be at 433.
Marius Giepz wrote:
> hi there!
> i have problems aligning different numbers in a column on my report
>
> ! I am selecting a number into an array:
>
> begin-select
> TB_INVOICE_VAT_SUMS.VAT_AMOUNT &vat_amount
> let vat_sums.vat_amount(#i) = &vat_amount
> add 1 to #i
> ... end-select
>
> ! later on I am printing the values from the array and I am
> calculating the sum
>
> while #j < #entry_cnt
> let #theAmount = vat_sums.vat_amount(#j)
> print #theAmount (+12,433) edit 99999999.99
> add #theAmount to #totalvat
> add 1 to #j
> end-while
>
> print #totalvat (+12,443) edit 99999999.99
>
>
> The result is, that #theAmount and #totalvat are not printed exactly
> aligned, one below the other.
> It looks somehow like
>
> 11.1
> 11.1
> 22.2
>
> allthough the printposition is (,443) both times.
>
> What could be the reason for this behaviour? Anybody got an idea?
>
> Best regards,
>
> Marius
>
>
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
>
--
-----------------------------------------------------------------------
Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com | "In the beginning, there was nothing, which exploded"
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users