Custom Script in Report to access Custom Object.
Content
How do I access a CustomObject value from a Report? I used Custom Script availble in the Report and uses sql_prepare and fetch. But in sql_prepare statement I always get _ is an unexpected token. Appreciate any help on this.
Code Snippet
$querystring = "Select blah blah"; $query=sql_prepare(sprintf($querystring)); sql_bind_col($query,1,BIND_NTS,250); while ($temp = sql_fetch($query)) { $rows[0][8]->val = $temp[0]; } sql_free($query);
0