';
echo ' ';
//onclick="this.form.return_module.value="Settings"; this.form.action.value="index"
function fetchTabIDVal($fldmodule)
{
global $adb;
$query = "select tabid from tab where tablabel='" .$fldmodule ."'";
$tabidresult = $adb->query($query);
return $adb->query_result($tabidresult,0,"tabid");
}
$tabid = fetchTabIDVal($_REQUEST['fld_module']);
$fld_module = $_REQUEST['fld_module'];
echo getCustomFieldList($tabid,$mod_strings,$fld_module);
function getCustomFieldList($tabid, $mod_strings, $fld_module)
{
global $adb;
//fieldid,fieldlabel,column_name,typdesc
$dbQuery = "select fieldid,columnname,fieldlabel,uitype,displaytype from field where tabid=".$tabid." and generatedtype=2 order by sequence";
$result = $adb->query($dbQuery) or die("Couldn't get file list");
$list = '