The record structure consists of the following columns :
x1,x2,x3,x4 and all are of String type.
The first 2 characters of all these columns contitute to a column in the report. for example substr(x1,1,2),substr(x2,1,2) ... are the value to be attached to the first column in the report,substr(x1,3,6),substr(x2,3,6) .... to the next column in the report.
I am passing the recordset to the crystal reports for the columns x1,x2,x3,x4....
How am I going to assign these values to the column in the report.
Columns in the reports are rc1,rc2,rc3,rc4.
The report to be printed is as follows;
rc1 rc2 rc3 rc4
substr(x1,1,2) substr(x1,3,6) substr(x1,3,6) substr(x1,7,length(x1))
substr(x2,1,2) substr(x2,3,6) substr(x2,3,6) substr(x1,7,length(x2))
substr(x3,1,2) substr(x3,3,6) substr(x3,3,6) substr(x1,7,length(x3))
substr(x4,1,2) substr(x4,3,6) substr(x4,3,6) substr(x1,7,length(x4))
I even want to know if there is any way to assign multiple column values to a single group or in other words can we have a group whose values come from different columns of the database.
by: kenhamadyPosted on 2000-10-18 at 20:19:03ID: 4801804
Create 16 different formulas.
Make your detail section 4 lines deep.
Arrange your 16 formulas in the 4x4 pattern that you have above.
Each record in the table will print 4 lines like you have above.
I assume there is more to it, but that accomplishes what you have described.