How to bring the data into next line in a field

Ganapathi kganapathi@chennai.tcs.co.in
Sun, 18 Aug 2002 16:44:23 +0530


This is a multi-part message in MIME format.

------=_NextPartTM-000-8c816525-b101-11d6-accc-005004267636
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_02C5_01C246D6.8218BC40"

------=_NextPart_000_02C5_01C246D6.8218BC40
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset="iso-8859-1"

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=20
begin
       let t_text =3D field1 of file1
       let t_text =3D truncate(t_text)+filed1 of file2
end


Required format is like:
eg.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Firstfile date - aaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
SecondFile data - bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Thirdfile data - ccccccccccccccccccccccccccccccccccccc
cccccccccccccccccccccccccccccccccccccccc
Fourthfile data - ddddddddddddddddddddddddddddddd
dddddddd
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Thanks & Regards
Ganapathi

------=_NextPart_000_02C5_01C246D6.8218BC40
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff background=3D"">
<DIV><FONT face=3DArial size=3D2>Dear Sir,<BR><BR>While getting huge =
data from 3 to=20
4 files in to a Filed (filed defined variable is declared character 2000 =
and=20
also used "FOR 15,80"), to differentiate each and every file's data, how =
to move=20
the data to the next line after displaying first files' data in find=20
mode.<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i.e</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>TEMP T_TEXT CHAR*2000</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>FIELD T_TEXT</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>FOR 15,80</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>DISPLAY</DIV>
<DIV>&nbsp;</DIV>
<DIV>while using this logic, the data is mixed with all files and unable =
to=20
identify quickly.</DIV>
<DIV>&nbsp;</DIV>
<DIV>procedure </DIV>
<DIV>begin</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; let t_text =3D field1 of =
file1</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; let t_text =3D =
truncate(t_text)+filed1=20
of file2</DIV>
<DIV>end</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Required format is=20
like:<BR>eg.<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D<BR><BR>Firstfile=20
date - aaa=20
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<BR>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa=
<BR>SecondFile=20
data -=20
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<BR>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb<BR>Third=
file=20
data -=20
ccccccccccccccccccccccccccccccccccccc<BR>cccccccccccccccccccccccccccccccc=
cccccccc<BR>Fourthfile=20
data -=20
ddddddddddddddddddddddddddddddd<BR>dddddddd<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks &amp; Regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ganapathi</FONT></DIV></BODY></HTML>

------=_NextPart_000_02C5_01C246D6.8218BC40--


------=_NextPartTM-000-8c816525-b101-11d6-accc-005004267636--