How to bring the data into next line in a field

Edis, Bob BEdis@usbnc.org
Mon, 19 Aug 2002 17:45:58 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C247D2.2F45E810
Content-Type: text/plain;
	charset="iso-8859-1"

Ganapathi
 
I am having a little difficulty understanding what you want to do.  Are you
saying:
 
1. you have a screen that displays a single record with a large text field
and you want to know how to edit it?
2. you have a screen that displays a single record with a large text field
and you want to know how to manipulate it in procedural logic?
3. you have a screen that displays a large temp text field and you want to
append data from several records into it?
 
When you say "huge data from 3 to 4 files" do you mean the screen is reading
3 to 4 files and the combination of records represents a lot of data on the
screen?
 
I think you are saying you want to concatenate the data field the same field
in many records of one file together into a temp field on the screen.  If so
why?  How do you know how many records you will have to concatenate?  Is
2000 bytes going to be enough?
 
Regards,
Blue

-----Original Message-----
From: Ganapathi [mailto:kganapathi@chennai.tcs.co.in]
Sent: Sunday, August 18, 2002 6:14 AM
To: powerh-l@cube.swau.edu
Subject: How to bring the data into next line in a field


Dear Sir,

While getting huge data from 3 to 4 files in to a Filed (filed defined
variable is declared character 2000 and also used "FOR 15,80"), to
differentiate each and every file's data, how to move the data to the next
line after displaying first files' data in find mode.

i.e
TEMP T_TEXT CHAR*2000
 
FIELD T_TEXT
FOR 15,80
DISPLAY
 
while using this logic, the data is mixed with all files and unable to
identify quickly.
 
procedure 
begin
       let t_text = field1 of file1
       let t_text = truncate(t_text)+filed1 of file2
end
 
 
Required format is like:
eg.
=============================================

Firstfile date - aaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
SecondFile data - bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Thirdfile data - ccccccccccccccccccccccccccccccccccccc
cccccccccccccccccccccccccccccccccccccccc
Fourthfile data - ddddddddddddddddddddddddddddddd
dddddddd
==============================================
 
Thanks & Regards
Ganapathi


------_=_NextPart_001_01C247D2.2F45E810
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4916.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV>
<DIV><FONT face=Arial color=#0000ff size=2>Ganapathi</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff size=2>I am 
having a little difficulty understanding what you want to do.&nbsp; Are you 
saying:</FONT></SPAN></DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff size=2>1. you 
have a screen that displays a single record with a large text field and you want 
to know how to edit it?</FONT></SPAN></DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff size=2>2. you 
have a screen that displays a single record with a large text field and you want 
to know how to manipulate it in procedural logic?</FONT></SPAN></DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff size=2>3. you 
have a screen that displays a large temp text field and you want to append data 
from several records into it?</FONT></SPAN></DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff size=2>When 
you say "huge data from 3 to 4 files" do you mean the screen is reading 3 to 4 
files and the combination of records represents a lot of data on the 
screen?</FONT></SPAN></DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff size=2>I 
think you are saying you want to concatenate the data field the same field in 
many records of one file together into a temp field on the screen.&nbsp; If so 
why?&nbsp; How do you know how many records you will have to concatenate?&nbsp; 
Is 2000 bytes going to be enough?</FONT></SPAN></DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff 
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=823233422-19082002><FONT face=Arial color=#0000ff 
size=2>Blue</FONT></SPAN></DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Ganapathi 
  [mailto:kganapathi@chennai.tcs.co.in]<BR><B>Sent:</B> Sunday, August 18, 2002 
  6:14 AM<BR><B>To:</B> powerh-l@cube.swau.edu<BR><B>Subject:</B> How to bring 
  the data into next line in a field<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Dear Sir,<BR><BR>While getting huge data from 3 
  to 4 files in to a Filed (filed defined variable is declared character 2000 
  and also used "FOR 15,80"), to differentiate each and every file's data, how 
  to move the data to the next line after displaying first files' data in find 
  mode.<BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>i.e</FONT></DIV>
  <DIV><FONT face=Arial size=2>TEMP T_TEXT CHAR*2000</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>FIELD T_TEXT</FONT></DIV>
  <DIV><FONT face=Arial size=2>FOR 15,80</FONT></DIV>
  <DIV><FONT face=Arial size=2>DISPLAY</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>while using this logic, the data is mixed with all files and unable to 
  identify quickly.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>procedure </DIV>
  <DIV>begin</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; let t_text = field1 of file1</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; let t_text = truncate(t_text)+filed1 
  of file2</DIV>
  <DIV>end</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Required format is 
  like:<BR>eg.<BR>=============================================<BR><BR>Firstfile 
  date - aaa 
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<BR>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<BR>SecondFile 
  data - 
  bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<BR>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<BR>Thirdfile 
  data - 
  ccccccccccccccccccccccccccccccccccccc<BR>cccccccccccccccccccccccccccccccccccccccc<BR>Fourthfile 
  data - 
  ddddddddddddddddddddddddddddddd<BR>dddddddd<BR>==============================================</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Thanks &amp; Regards</FONT></DIV>
  <DIV><FONT face=Arial size=2>Ganapathi</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C247D2.2F45E810--