[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



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