<font size=2 face="sans-serif">Bodo,</font>
<br>
<br><font size=2 face="sans-serif">update &nbsp;wavgstdevsorted_w_asd set
prop_desc2 = replace ( prop_desc2 , X'0a', '\n') ;\p\g</font>
<br>
<br><font size=2 face="sans-serif">works </font>
<br>
<br><font size=2 face="sans-serif">thanks </font>
<br><font size=2 face="sans-serif">Allan </font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Bodo Bergmann &lt;Bodo.Bergmann@actian.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;openroad-users@googlegroups.com&quot;
&lt;openroad-users@googlegroups.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Cc: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;info-ingres@lists.planetingres.org&quot;
&lt;info-ingres@lists.planetingres.org&gt;, &quot;info-ingres-bounces@lists.planetingres.org&quot;
&lt;info-ingres-bounces@lists.planetingres.org&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">04/04/2017 16:59</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">Re: [Info-ingres]
[openroad-users] formfeed is lost by report writer</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">info-ingres-bounces@lists.planetingres.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="Calibri">Allan 0x0A is not a string, but a hex value
(decimal 10) for the newline character,<br>
therefore you cannot use '0x0A' - which is a 4 character string &nbsp;(containing
the characters '0', 'x', '0' and 'A').</font>
<p><font size=2 face="Calibri">You could try a hex literal constant instead:
&nbsp;X'0a'</font>
<p><font size=2 face="Calibri">&nbsp;</font>
<p><font size=2 face="Calibri">Bodo.</font>
<p><font size=2 face="Calibri">&nbsp;</font>
<p><font size=2 face="Calibri"><b>From:</b> openroad-users@googlegroups.com
[</font><a href="mailto:openroad-users@googlegroups.com"><font size=2 face="Calibri">mailto:openroad-users@googlegroups.com</font></a><font size=2 face="Calibri">]
<b>On Behalf Of </b>Allan Biggs<b><br>
Sent:</b> Tuesday, April 4, 2017 5:37 PM<b><br>
To:</b> Bodo Bergmann &lt;Bodo.Bergmann@actian.com&gt;<b><br>
Cc:</b> info-ingres@lists.planetingres.org; info-ingres-bounces@lists.planetingres.org;
openroad-users@googlegroups.com<b><br>
Subject:</b> Re: [Info-ingres] [openroad-users] formfeed is lost by report
writer</font>
<p><font size=3>&nbsp;</font>
<p><font size=2 face="Arial">any idea why it is not being picked up by
report writer or indeed why report writer is truncating this string?</font><font size=3>
<br>
</font><font size=2 face="Arial"><br>
is there a way of changing </font><font size=2 face="Calibri">0x0A</font><font size=2 face="Arial">
to something else - curiously actual &nbsp;&quot;\n&quot; as characters
has the desired effect. (the python script is used to generate an xlsx
spreadsheet) </font><font size=3><br>
</font><font size=2 face="Arial"><br>
so if I could do something like </font><font size=3><br>
</font><font size=2 face="Arial"><br>
 .LETdesc2_lcl = replace(</font><font size=2 face="Courier New">prop_desc2</font><font size=2 face="Arial">,'</font><font size=2 face="Calibri">0x0A</font><font size=2 face="Arial">','\n')
in the rw script or in Sql </font><font size=3><br>
<br>
</font><font size=2 face="Arial"><br>
I tried <br>
 .LET &nbsp; desc2_lcl = replace(</font><font size=2 face="Courier New">prop_desc2</font><font size=2 face="Arial">,char('</font><font size=2 face="Calibri">0x0A</font><font size=2 face="Arial">')
,'\n') </font><font size=3><br>
</font><font size=2 face="Arial"><br>
but that did not work <br>
Allan</font><font size=3> <br>
<br>
<br>
<br>
<br>
</font><font size=1 color=#5f5f5f face="Arial"><br>
From: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="Arial">Bodo
Bergmann &lt;</font><a href=mailto:Bodo.Bergmann@actian.com><font size=1 color=blue face="Arial"><u>Bodo.Bergmann@actian.com</u></font></a><font size=1 face="Arial">&gt;</font><font size=3>
</font><font size=1 color=#5f5f5f face="Arial"><br>
To: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="Arial">&quot;</font><a href="mailto:openroad-users@googlegroups.com"><font size=1 color=blue face="Arial"><u>openroad-users@googlegroups.com</u></font></a><font size=1 face="Arial">&quot;
&lt;</font><a href="mailto:openroad-users@googlegroups.com"><font size=1 color=blue face="Arial"><u>openroad-users@googlegroups.com</u></font></a><font size=1 face="Arial">&gt;,
&quot;</font><a href="mailto:info-ingres@lists.planetingres.org"><font size=1 color=blue face="Arial"><u>info-ingres@lists.planetingres.org</u></font></a><font size=1 face="Arial">&quot;
&lt;</font><a href="mailto:info-ingres@lists.planetingres.org"><font size=1 color=blue face="Arial"><u>info-ingres@lists.planetingres.org</u></font></a><font size=1 face="Arial">&gt;</font><font size=3>
</font><font size=1 color=#5f5f5f face="Arial"><br>
Date: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="Arial">04/04/2017
16:01</font><font size=3> </font><font size=1 color=#5f5f5f face="Arial"><br>
Subject: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="Arial">Re:
[Info-ingres] [openroad-users] formfeed is lost by report writer</font><font size=3>
</font><font size=1 color=#5f5f5f face="Arial"><br>
Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</font><a href="mailto:info-ingres-bounces@lists.planetingres.org"><font size=1 color=blue face="Arial"><u>info-ingres-bounces@lists.planetingres.org</u></font></a><font size=3>
</font>
<div align=center>
<p>
<hr noshade></div>
<p><font size=3><br>
<br>
</font><font size=2 face="Calibri"><br>
The '\n' is a newline character (0x0A) rather than a formfeed (0x0c).</font><font size=3>
</font>
<p><font size=2 face="Calibri">&nbsp;</font><font size=3> </font>
<p><font size=2 face="Calibri">Bodo.</font><font size=3> </font>
<p><font size=2 face="Calibri">&nbsp;</font><font size=3> </font>
<p><font size=2 face="Calibri"><b>From:</b> </font><a href="mailto:openroad-users@googlegroups.com"><font size=2 color=blue face="Calibri"><u>openroad-users@googlegroups.com</u></font></a><font size=2 face="Calibri">
[</font><a href="mailto:openroad-users@googlegroups.com"><font size=2 color=blue face="Calibri"><u>mailto:openroad-users@googlegroups.com</u></font></a><font size=2 face="Calibri">]
<b>On Behalf Of </b>Allan Biggs<b><br>
Sent:</b> Tuesday, April 4, 2017 4:43 PM<b><br>
To:</b> </font><a href="mailto:info-ingres@lists.planetingres.org"><font size=2 color=blue face="Calibri"><u>info-ingres@lists.planetingres.org</u></font></a><font size=2 face="Calibri"><b><br>
Cc:</b> </font><a href="mailto:openroad-users@googlegroups.com"><font size=2 color=blue face="Calibri"><u>openroad-users@googlegroups.com</u></font></a><font size=2 face="Calibri"><b><br>
Subject:</b> [openroad-users] formfeed is lost by report writer</font><font size=3>
</font>
<p><font size=3>&nbsp; </font>
<p><font size=2 face="Arial">For this work I am working on a windows 7
laptop with the community edition of ingres installed on it. though the
database is on a 10.2 Linux server. <br>
<br>
I have a multiline field in OpenROAD which maintains a table with attributes
which are varchar (250) not null with default</font><font size=3> </font><font size=2 face="Arial"><br>
looking at the table via isql - you can see \n where the form feeds are.</font><font size=3>
</font><font size=2 face="Arial"><br>
<br>
I am running a report writer (.rw) which gives a text file (actually a
python script) the&quot;\n&quot;s are somehow truncating the field everything
after \n is lost for that field. <br>
<br>
Prior to introducing the form feeds &nbsp;the other parts of the attribute
were displayed in the output file <br>
<br>
Does anyone have any idea what is going on here?</font><font size=3> </font><font size=2 face="Arial"><br>
<br>
Note - I have removed the 200+ spaces to make this readable <br>
<br>
Thanks</font><font size=3> </font><font size=2 face="Arial"><br>
Allan </font><font size=3><br>
</font><font size=2 color=blue face="Courier New"><b><br>
<br>
this is the result for row in an</b></font><font size=3> </font><font size=2 color=blue face="Courier New"><b><br>
sql query just prior to running report writer </b></font><font size=2 face="Courier New"><br>
| &nbsp; &nbsp;prop_desc2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font><font size=2 color=#800000 face="Courier New"><i>[lots
of spaces removed]</i></font><font size=2 face="Courier New"> | &nbsp;
&nbsp;test_gp_desc2 &nbsp; &nbsp; </font><font size=2 color=#800000 face="Courier New"><i>[lots
of spaces removed]</i></font><font size=2 face="Courier New"> &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; |</font><font size=3> </font><font size=2 face="Courier New"><br>
|Mean thickness</font><font size=2 color=red face="Courier New">\n</font><font size=2 face="Courier New">per
reel </font><font size=2 color=#800000 face="Courier New"><i>[lots of spaces
removed]</i></font><font size=2 face="Courier New"> | Calculated from</font><font size=2 color=red face="Courier New">\n</font><font size=2 face="Courier New">width/length/
&nbsp;</font><font size=2 color=red face="Courier New">\n</font><font size=2 face="Courier New">weight/density
</font><font size=2 color=#800000 face="Courier New"><i>[lots of spaces
removed]</i></font><font size=2 face="Courier New"> |</font><font size=3>
</font><font size=2 color=blue face="Courier New"><b><br>
<br>
Here are fragments of <br>
report writer script for the same row &nbsp;</b></font><font size=3> </font><font size=2 face="Courier New"><br>
.QUERY <br>
select &nbsp; distinct <br>
disp_kind,</font><font size=3> </font><font size=2 face="Courier New"><br>
prop_desc2 ,</font><font size=3> </font><font size=2 face="Courier New"><br>
test_gp_seq, <br>
n_tests ,</font><font size=3> </font><font size=2 face="Courier New"><br>
min_values_for_std ,</font><font size=3> </font><font size=2 face="Courier New"><br>
test_gp_id ,</font><font size=3> </font><font size=2 face="Courier New"><br>
av &nbsp; &nbsp; &nbsp; &nbsp; , &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;</font><font size=3> </font><font size=2 face="Courier New"><br>
sds &nbsp; &nbsp; &nbsp; &nbsp;, <br>
test_gp_desc2,</font><font size=3> </font><font size=2 face="Courier New"><br>
srt_order,</font><font size=3> </font><font size=2 face="Courier New"><br>
etc .......</font><font size=3> </font><font size=2 face="Courier New"><br>
<br>
.FORMAT prop_desc2 &nbsp; &nbsp;(c250)</font><font size=3> </font><font size=2 face="Courier New"><br>
.FORMAT test_gp_desc2 (c250)</font><font size=3> <br>
</font><font size=2 face="Courier New"><br>
<br>
.PRINTLN &quot;worksheet1.write(&quot;, &nbsp;$actual_row_number, &nbsp;&quot;,&quot;
, 0 &nbsp;(f4), &nbsp;&quot;,&quot; , &quot;'&quot; prop_desc2 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; , &quot;'&quot;, &quot; &nbsp; ,fmtwrap)&quot;</font><font size=3>
</font><font size=2 face="Courier New"><br>
.PRINTLN &quot;worksheet1.write(&quot;, &nbsp;$actual_row_number, &nbsp;&quot;,&quot;
, 1 &nbsp;(f4), &nbsp;&quot;,&quot; , &quot;'&quot; test_gp_desc2 &nbsp;
&nbsp; &nbsp;, &quot;'&quot;, &quot; &nbsp; &nbsp; &nbsp; ,fmtwrap)&quot;</font><font size=3>
<br>
<br>
</font><font size=2 color=blue face="Courier New"><b><br>
<br>
the text file produced </b></font><font size=2 face="Courier New"><br>
worksheet1.write( &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 25, &nbsp; 0,'Mean
thickness &nbsp;</font><font size=2 color=#800000 face="Courier New"><i>[lots
of spaces removed]</i></font><font size=2 face="Courier New"> &nbsp; '
&nbsp; &nbsp; &nbsp; ,fmtwrap)</font><font size=3> </font><font size=2 face="Courier New"><br>
worksheet1.write( &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 25, &nbsp; 1,'Calculated
from </font><font size=2 color=#800000 face="Courier New"><i>[lots of spaces
removed]</i></font><font size=2 face="Courier New"> &nbsp; ' &nbsp; &nbsp;
&nbsp; ,fmtwrap)</font><font size=3> <br>
<br>
</font>
<p><font size=3><br>
This communication is for use by the intended recipient and contains<br>
information that may be Privileged, confidential or copyrighted under<br>
applicable law. If you are not the intended recipient, you are hereby<br>
formally notified that any use, copying or distribution of this e-mail,<br>
in whole or in part, is strictly prohibited. Please notify the sender by<br>
return e-mail and delete this e-mail from your system. Unless explicitly<br>
and conspicuously designated as &quot;E-Contract Intended&quot;, this e-mail
does<br>
not constitute a contract offer, a contract amendment, or an acceptance<br>
of a contract offer. This e-mail does not constitute a consent to the<br>
use of sender's contact information for direct marketing purposes or for<br>
transfers of data to third parties. </font>
<p><font size=3>Francais Deutsch Italiano &nbsp;Espanol &nbsp;Portugues
&nbsp;Japanese &nbsp;Chinese &nbsp;Korean </font>
<p><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font><a href=http://www.dupont.com/corp/email_disclaimer.html><font size=3 color=blue><u>http://www.DuPont.com/corp/email_disclaimer.html</u></font></a><font size=3>
</font>
<p><font size=3>-- <br>
You received this message because you are subscribed to the Google Groups
&quot;OpenROAD Users Mailing List&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send
an email to </font><a href="mailto:openroad-users+unsubscribe@googlegroups.com"><font size=3 color=blue><u>openroad-users+unsubscribe@googlegroups.com</u></font></a><font size=3>.<br>
To post to this group, send email to </font><a href="mailto:openroad-users@googlegroups.com"><font size=3 color=blue><u>openroad-users@googlegroups.com</u></font></a><font size=3>.<br>
Visit this group at </font><a href="https://groups.google.com/group/openroad-users"><font size=3 color=blue><u>https://groups.google.com/group/openroad-users</u></font></a><font size=3>.<br>
To view this discussion on the web visit </font><a href="https://groups.google.com/d/msgid/openroad-users/OFE457D510.8CE52C6C-ON802580F8.004E0E91-802580F8.0050D7C5%40CDCLN05.LVS.DUPONT.COM?utm_medium=email&amp;utm_source=footer"><font size=3 color=blue><u>https://groups.google.com/d/msgid/openroad-users/OFE457D510.8CE52C6C-ON802580F8.004E0E91-802580F8.0050D7C5%40CDCLN05.LVS.DUPONT.COM</u></font></a><font size=3>.<br>
For more options, visit </font><a href=https://groups.google.com/d/optout><font size=3 color=blue><u>https://groups.google.com/d/optout</u></font></a><font size=3>.</font><font size=2 face="Courier New">_______________________________________________<br>
Info-ingres mailing list</font><font size=2 color=blue face="Courier New"><u><br>
</u></font><a href="mailto:Info-ingres@lists.planetingres.org"><font size=2 color=blue face="Courier New"><u>Info-ingres@lists.planetingres.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://lists.planetingres.org/mailman/listinfo/info-ingres"><font size=2 color=blue face="Courier New"><u>http://lists.planetingres.org/mailman/listinfo/info-ingres</u></font></a>
<p><font size=3><br>
This communication is for use by the intended recipient and contains<br>
information that may be Privileged, confidential or copyrighted under<br>
applicable law. If you are not the intended recipient, you are hereby<br>
formally notified that any use, copying or distribution of this e-mail,<br>
in whole or in part, is strictly prohibited. Please notify the sender by<br>
return e-mail and delete this e-mail from your system. Unless explicitly<br>
and conspicuously designated as &quot;E-Contract Intended&quot;, this e-mail
does<br>
not constitute a contract offer, a contract amendment, or an acceptance<br>
of a contract offer. This e-mail does not constitute a consent to the<br>
use of sender's contact information for direct marketing purposes or for<br>
transfers of data to third parties.</font>
<p><font size=3>Francais Deutsch Italiano &nbsp;Espanol &nbsp;Portugues
&nbsp;Japanese &nbsp;Chinese &nbsp;Korean</font>
<p><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font><a href=http://www.dupont.com/corp/email_disclaimer.html><font size=3 color=blue><u>http://www.DuPont.com/corp/email_disclaimer.html</u></font></a>
<p><font size=3>-- <br>
You received this message because you are subscribed to the Google Groups
&quot;OpenROAD Users Mailing List&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send
an email to </font><a href="mailto:openroad-users+unsubscribe@googlegroups.com"><font size=3 color=blue><u>openroad-users+unsubscribe@googlegroups.com</u></font></a><font size=3>.<br>
To post to this group, send email to </font><a href="mailto:openroad-users@googlegroups.com"><font size=3 color=blue><u>openroad-users@googlegroups.com</u></font></a><font size=3>.<br>
Visit this group at </font><a href="https://groups.google.com/group/openroad-users"><font size=3 color=blue><u>https://groups.google.com/group/openroad-users</u></font></a><font size=3>.<br>
To view this discussion on the web visit </font><a href="https://groups.google.com/d/msgid/openroad-users/OF1831860C.FFBCFFAC-ON802580F8.00543277-802580F8.0055C706%40CDCLN05.LVS.DUPONT.COM?utm_medium=email&amp;utm_source=footer"><font size=3 color=blue><u>https://groups.google.com/d/msgid/openroad-users/OF1831860C.FFBCFFAC-ON802580F8.00543277-802580F8.0055C706%40CDCLN05.LVS.DUPONT.COM</u></font></a><font size=3>.<br>
For more options, visit </font><a href=https://groups.google.com/d/optout><font size=3 color=blue><u>https://groups.google.com/d/optout</u></font></a><font size=3>.</font><tt><font size=2>_______________________________________________<br>
Info-ingres mailing list<br>
Info-ingres@lists.planetingres.org<br>
</font></tt><a href="http://lists.planetingres.org/mailman/listinfo/info-ingres"><tt><font size=2>http://lists.planetingres.org/mailman/listinfo/info-ingres</font></tt></a><tt><font size=2><br>
</font></tt>
<p><p><br>
This communication is for use by the intended recipient and contains<br>
information that may be Privileged, confidential or copyrighted under<br>
applicable law. If you are not the intended recipient, you are hereby<br>
formally notified that any use, copying or distribution of this e-mail,<br>
in whole or in part, is strictly prohibited. Please notify the sender by<br>
return e-mail and delete this e-mail from your system. Unless explicitly<br>
and conspicuously designated as "E-Contract Intended", this e-mail does<br>
not constitute a contract offer, a contract amendment, or an acceptance<br>
of a contract offer. This e-mail does not constitute a consent to the<br>
use of sender's contact information for direct marketing purposes or for<br>
transfers of data to third parties.</p>


<p>Francais Deutsch Italiano&nbsp; Espanol&nbsp; Portugues&nbsp; Japanese&nbsp; Chinese&nbsp; Korean</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  http://www.DuPont.com/corp/email_disclaimer.html</p>