This topic is locked

Show more than one data in list view

12/7/2011 6:55:32 AM
PHPRunner General questions
C
chinesearithmetic author

Hello everyone,
I am experiencing some trouble trying to edit some code in PHPrunner, and I can´t get the values recorded in a field, that links to another table field.
The edit screen show those values and record multiple choices, but the list/view shows only one of the choices.
Code in x_settings.php bellow:



$fdata = array();

$fdata["strName"] = "EnderecoSite";

$fdata["ownerTable"] = "Clientes";

$fdata["FieldType"] = 200;

$fdata["UseiBox"] = false;

$fdata["EditFormat"] = "Lookup wizard";

$fdata["ViewFormat"] = "";
$fdata["LookupType"] = 1;
$fdata["LCType"] = 3;
$fdata["LinkField"] = "SiteID";

$fdata["LinkFieldType"] = 3;

$fdata["DisplayField"] = "Site";

$fdata["LookupTable"] = "Sites";

$fdata["LookupOrderBy"] = "";
$fdata["NeedEncode"] = true;
$fdata["GoodName"] = "EnderecoSite";

$fdata["FullName"] = "EnderecoSite";

$fdata["Index"] = 10;
$fdata["bListPage"] = true;

$fdata["FieldPermissions"] = true;

$fdata["ListPage"] = true;

$tdataregistro["EnderecoSite"] = $fdata;


I am not a native english speaker, so I hope you can understand.
Thanks!