Sorry, was replying to another message and seem to have accidently wiped out the question text. Sec and I'll add the question to it. <div><br></div><div><br></div><div>Here is the original. Sorry, I shouldn't answer things this early in the morning. (This Was from wtng)</div>
<div><br></div><div><div id=":160" class="ii gt adP adO" style="font-size:13px;margin:5px 15px 0px 0px;padding-bottom:5px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)"><div id=":15z">
<div lang="EN-SG" link="blue" vlink="purple"><p class="MsoNormal"><span lang="EN-US">BACKGROUND: I have 4 entry fields (name is prefix with ef….) on a livecode stack and an ADD button. Database/Table/Field references all done and stable in card script.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">When I enter:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">
<b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,127,0)"> put</span></b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,0,127)">field</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> efCode </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,0,127)">into</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> tArray[</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(0,0,127)">1</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif">]</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,127,0)">put</span></b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,0,127)">field</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> efCost </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,0,127)">into</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> tArray[</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(0,0,127)">2</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif">]</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,127,0)">put</span></b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,0,127)">field</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> efDescription </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,0,127)">into</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> tArray[</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(0,0,127)">3</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif">]</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,127,0)">put</span></b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,0,127)">field</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> efPrices </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,0,127)">into</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> tArray[</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(0,0,127)">4</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif">]</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> </span><b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(127,127,0)">get</span></b><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"> VDatabase_SqlExecute (mDatabase, </span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif;color:rgb(0,0,127)">"INSERT INTO pricelist (code, cost, description, prices) VALUES (:1,:2, :3, :4);"</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif">, tArray)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">This fails with the error: “</span><span style="font-size:9pt;font-family:'Segoe UI',sans-serif">7004 Using clause required for dynamic parameters.”<u></u><u></u></span></p>
<p class="MsoNormal">I did not expect this as the V4Rev reference does not have ’USING’ in this function’s syntax.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Have I missed something?<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:'Segoe UI',sans-serif"><u></u> </span></p></div></div></div><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 5:39 AM, Ruslan Zasukhin <span dir="ltr"><<a href="mailto:ruslan_zasukhin@valentina-db.com" target="_blank">ruslan_zasukhin@valentina-db.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/27/12 2:27 PM, "Mike Bonner" <<a href="mailto:bonnmike@gmail.com" target="_blank">bonnmike@gmail.com</a>> wrote:<br>
<br>
Hi Mike,<br>
<br>
I have not catch.<br>
<br>
Examples works fine.<br>
You complain on docs?<br>
<br>
What is wrong ?<br>
<br>
<br>
> You might look in this folder Documents\Paradigma<br>
> Software\V4REV_4\Examples\SQL_way\Bind (your user documents folder) and check<br>
> out the bind example stack that is there.<br>
><br>
> The only thing I notice is you have a trailing semicolon in your code. Don't<br>
> know if thats the problem but the examples don't have it so its worth a check.<br>
><br>
> The example itself works like a charm so it's worth digging through it. <br>
<br>
--<br>
Best regards,<br>
<br>
Ruslan Zasukhin<br>
VP Engineering and New Technology<br>
Paradigma Software, Inc<br>
<br>
Valentina - Joining Worlds of Information<br>
<a href="http://www.paradigmasoft.com" target="_blank">http://www.paradigmasoft.com</a><br>
<br>
[I feel the need: the need for speed]<br>
<br>
<br>
_______________________________________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net" target="_blank">Valentina@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/mailman/listinfo/valentina</a><br>
</blockquote></div><br>
</div>