ISTech Support Forum
http://www.istechforum.com/YaBB.pl
Evo-ERP and DBA Classic >> Source Code and Programming in TAS >> Report Builder and moving fields...
http://www.istechforum.com/YaBB.pl?num=1070560087

Message started by ITman on 12/04/03 at 09:48:07

Title: Report Builder and moving fields...
Post by ITman on 12/04/03 at 09:48:07

I have a problem with the output when using the report builder to make custom reports.  The problem is that when I put text in one spot, and then a field from the database DIRECTLY below, they don't line up.  Take this for example, if I wanted to output something like...

Part:  AEF-756
Qty :  215
Size:  Two Inch

This would output like:

Part:  AEF-756
Qty :           215
Size:  Two Inch

I have set all fields to Left justify for the fields on the right and it dosen't appear to work for numbers.

Anyone?
ITMan

Title: Re: Report Builder and moving fields...
Post by aricon on 12/04/03 at 18:16:06

Yeah, my DBA programmer told me that this is an inherent bug in the TAS language and how it interoperates with that striped-down version of the Delphi Report builder.

Title: Re: Report Builder and moving fields...
Post by ITman on 12/11/03 at 07:02:19

I did find a work around if anyone is having this problem.    Data types r,i, and n are all not justified properly.  

1.  Define a temporary variable,  type A
2.  Put numeric data into that variable
3.  Justify the variable (in the program)
4.  Output to report

For example....

define number_var type i
define temp_field type a size 30

number_var = 3323432.454
number_var = temp_field

just temp_field left

ITMan

Title: Re: Report Builder and moving fields...
Post by ITman on 12/11/03 at 07:04:02

Whoops, the bit of code there should read....

define number_var type i  
define temp_field type a size 30

number_var = 3323432.454
temp_field = number_var

ISTech Support Forum » Powered by YaBB 2.1!
YaBB © 2000-2005. All Rights Reserved.