<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 9/15/2011 5:58 PM, George Parkinson wrote:
<blockquote
cite="mid:1316098691.25317.YahooMailNeo@web5707.biz.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:lucida
console, sans-serif;font-size:8pt">
<div style="RIGHT: auto"><font size="2">hello all,</font></div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"><font size="2">i'm running into a snag
when using CopyCursorToNewTable.</font></div>
<div style="RIGHT: auto"> </div>
<font style="RIGHT: auto">
<div style="RIGHT: auto"><font size="2">all VarChar(x) fields
from the source cursor get copied as VarChar(20) in the
destination table.</font></div>
<div style="RIGHT: auto"><font size="2">the same thing happens
with String fields...getting copied as String(20).</font></div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"><font size="2">it doesn't seem to
matter if the destination is local or remote.</font></div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"><font size="2">am i missing something
or is this a bug?</font></div>
<div style="RIGHT: auto"> </div>
</font><br>
</div>
</blockquote>
<br>
I have double checked it and found no such an issue.<br>
<br>
CREATE TABLE t1( fldString String(50), fldVarChar Varchar(50) )<br>
<br>
In result table (after CopyCursorToNewTable()) both fields are 50
symbols length and<br>
all the data copied correctly.<br>
<br>
Probably you use some old vKernel version?<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
<a class="moz-txt-link-freetext" href="http://www.valentina-db.com">http://www.valentina-db.com</a></pre>
</body>
</html>