[ 2505803 ] Lookup Record not working in Report Preview
This commit is contained in:
parent
c6ec384fd8
commit
7acdbe56e9
|
@ -863,10 +863,15 @@ public class ZkReportViewer extends Window implements EventListener {
|
||||||
FindWindow find = new FindWindow(m_WindowNo, title, AD_Table_ID, tableName,"", findFields, 1, AD_Tab_ID);
|
FindWindow find = new FindWindow(m_WindowNo, title, AD_Table_ID, tableName,"", findFields, 1, AD_Tab_ID);
|
||||||
find.setVisible(true);
|
find.setVisible(true);
|
||||||
AEnv.showWindow(find);
|
AEnv.showWindow(find);
|
||||||
|
if (!find.isCancel())
|
||||||
|
{
|
||||||
m_reportEngine.setQuery(find.getQuery());
|
m_reportEngine.setQuery(find.getQuery());
|
||||||
find = null;
|
AMedia media = new AMedia(getTitle(), "pdf", "application/pdf", m_reportEngine.createPDFData());
|
||||||
|
iframe.setContent(media);
|
||||||
revalidate();
|
revalidate();
|
||||||
}
|
}
|
||||||
|
find = null;
|
||||||
|
}
|
||||||
cmd_drill(); // setCursor
|
cmd_drill(); // setCursor
|
||||||
} // cmd_find
|
} // cmd_find
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue