<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Your integer change was an obvious one
and I have now made this, have also tested with lowercase earlier
(also with the change). Neither of these steps has made a
difference.<br>
<br>
Thanks<br>
<br>
On 05/02/13 09:38, Adam Heinz wrote:<br>
</div>
<blockquote
cite="mid:CAKBdvM9A23Ho41xzxoZq+xOuY0dBiyH8L4qRoVV9qe7aG23VUg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>For uitype 10, I use:<br>
</div>
<div><br>
</div>
$field->columntype = 'INTEGER'
<div>
<div>$field->typeofdata = 'I~O';</div>
<div><br>
</div>
<div style=""><span
style="font-family:arial,sans-serif;font-size:13px">Is
field name allowed to be mixed case?</span><br>
</div>
</div>
<div style=""><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Feb 4, 2013 at 3:32 PM, Richard
Hills <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
<br>
I am setting up a basic vtlib module which has a relation
requirement<br>
between an existing module.<br>
<br>
> $field new Vtiger_Field();<br>
> $field->name = 'RelatedTo';<br>
> $field->label = 'Related To';<br>
> $field->table = 'vtiger_module2';<br>
> $field->column = 'relatedto';<br>
> $field->columntype = 'VARCHAR(255)';<br>
> $field->uitype = 10;<br>
> $field->typeofdata = 'V~O';<br>
> $field->helpinfo = 'Relate to an existing
orchard';<br>
> $field->masseditable = 0;<br>
> $block->addField($field);<br>
> $field->setRelatedModules(Array('Module1'));<br>
<br>
This all works file and the values are saved correctly.
However when in<br>
edit, list and detail mode the value of "relatedto" is
empty.<br>
<br>
I was wondering if anyone could point out what my problem is
likely to be?<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Richard Hills<br>
TechnologyWise Ltd, Tauranga, NZ<br>
<a moz-do-not-send="true" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
<a moz-do-not-send="true"
href="http://www.technologywise.co.nz" target="_blank">www.technologywise.co.nz</a><br>
ph: +64 (0)7 571 1060<br>
fax: +64 (0)7 571 1061<br>
<br>
_______________________________________________<br>
<a moz-do-not-send="true" href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>
<a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a>
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061</pre>
</body>
</html>