Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting data to display right to left instead of top to bottom.

Status
Not open for further replies.

QueSpr04

Programmer
Jun 3, 2004
50
US
CR10
ODBC[RDO] connection

Actually I have two issues I am trying to iron out. The first is trying to get the data to display right to left instead of going down the page.
(EX. 1 2 3 4 5 6) instead of........

1
2
3
4
5
6

Also, I am trying to get my data to display an asterisk between numbers if there is a break in the sequence of the numbers. (EX. 1 2 3 * 5 6) I think I am heading down the right track as far as with the asterisks by using a WHILEREADINGRECORDS statement to try an derive a solution. Please help.
 
Since the last post, I have found out how to display the data from right to left, but I am STILL having problems with displaying an asterisk between the numbers if there is a break in the sequence of numbers. Please help!
 
This should have been part of the other post, I think. Try the following two formulas:

//{@accum} to be placed in the detail section:
whileprintingrecords;
stringvar x;

if onfirstrecord then
x := totext({table.number},0,"") else
if {table.number} = previous({table.number}) + 1 then
x := x + " " + totext({table.number},0,"") else
x := x + " * " + totext({table.number},0,"");

//{@display} to be placed in the report footer:
whileprintingrecords;
stringvar x;

Format {@display} to "can grow" and suppress the details section. If you have a group and you want to accumulate only within that group, then create a reset formula to be placed in the group header:

whileprintingrecords;
stringvar x := "";

-LB
 
QueSpr04:
I was hoping that you could tell me how you got your data to list from left to right, as I am having the same problem. Also, did you have any issues with nulls in the listing?

thanks
sorchard2000@yahoo.com
 
What I did was went to Section Expert>Format with Multiple Columns>Layout>and from there I fixed the width and horizontal to the sizes that I wanted and it displayed the data going across instead of top to bottom.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top