<font face="tahoma" size="3"><p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">Using fp 5.0.13R4 on </span>Centos 5.4</p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">I wanted to use the syntax below to copy a number of fields from one record to another but get a syntax error.</span></p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">Is this possible?</span></p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">Thanks</span></p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">After opening the two records without any issue</span></p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">lookup ipd = invprod@ r=free -e </span></p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">lookup form = f837@ k=kk i=a -nx</span></p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">I wanted to copy fields 80-120 and 201-400 using a variable loop</span></p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">ct(3,.0)="79"</span></p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: tahoma; font-size: 12pt; word-wrap: break-word;"><span style="font-size: 12pt;">nxct1 ? If: ?</span><br /><span style="font-size: 12pt;"> Then: ct=ct+"1" ?</span><br /><span style="font-size: 12pt;">1564 ------- - - - - - - - - - - - - - - - -</span><br /><span style="font-size: 12pt;"> ? If: ct lt "120" ?</span><br /><span style="font-size: 12pt;"> Then: ipd(ct)=form(ct);goto nxct1 ?</span><br /><span style="font-size: 12pt;">1565 ------- - - - - - - - - - - - - - - - -</span><br /><span style="font-size: 12pt;"> ? If: ?</span><br /><span style="font-size: 12pt;"> Then: ct="201" ?</span><br /><span style="font-size: 12pt;">1566 ------- - - - - - - - - - - - - - - - -</span><br /><span style="font-size: 12pt;">nxct2 ? If: ?</span><br /><span style="font-size: 12pt;"> Then: ct=ct+"1" ?</span><br /><span style="font-size: 12pt;">1567 ------- - - - - - - - - - - - - - - - -</span><br /><span style="font-size: 12pt;"> ? If: ct lt "401"</span><br /><span style="font-size: 12pt;"> Then: ipd(ct)=form(ct);goto nxct2</span></p></font>