Commit 679a66c6 authored by metzlerd's avatar metzlerd
Browse files

Updated to work with feeds to pull in reports as body element. This

lets you do report bodies as master/detail. 
parent 7372b0a0
......@@ -263,7 +263,7 @@ class Frx {
// Otherwise instantiate the data class.
if (!$o) {
Frx::Data();
$o = Frx::Data();
}
return $o;
......
......@@ -303,7 +303,8 @@ class FrxReport {
*/
public function render($format, $render_form=TRUE) {
if (!$format) $format = 'web';
Frx::Data()->push($this->parms, 'parm');
// Only push the parameter context
if (!Frx::Data()->contextExists('parm')) Frx::Data()->push($this->parms, 'parm');
$this->format = $format;
$dom = $this->dom;
......
--ACCESS=access demo reports
select * from states
select *, code as state from states
ORDER BY name
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment