<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><span id="gmail-result_box" lang="en"><span>(In English below</span></span><br>Prezados<br>Eu gostaria de substituir a string 'aaaa' do campo 8 pela data do campo 260^c. Tentei fazer isto através da seguinte proc:<br><span>'<8>',replace(v008,'aaaa',if p(v260^c) then v260^c.4 else '0000',fi),'</8>'<br></span>mas apresenta o seguinte erro:<br>fatal: ce(v008,'aaaa',if p(v260^c) then v260^c.4 else '0000',fi)),'</8><br><br>O que está errado na proc? Alguma outra idéia?<br>Obrigado,<br>-------------------------------<br><span tabindex="-1">Dear</span><br><span>I would like to replace the string 'aaaa' of field 8 with the date oj field 260^c.</span> <span>I tried to do this through the following proc<br>'<8>',replace(v008,'aaaa',if p(v260^c) then v260^c.4 else '0000',fi),'</8>'<br></span><span>but it presents the following error:<br>fatal: ce(v008,'aaaa',if p(v260^c) then v260^c.4 else '0000',fi)),'</8><br><br></span><span>What is wrong with proc?</span> <span>Any other idea?</span><br><span>Thank you,</span><br><br></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:comic sans ms,sans-serif">Edwin Hübner</span><br>(5521)99647-1675<br></div></div></div></div></div>
</div>