}
finally {
DB.close(rs, stmt);
rs = null; stmt = null;
}
MRole role = MRole.getDefault();
// No Records
if (m_total == 0 && alertZeroRecords)
ADialog.info(m_targetWindowNo, this, "FindZeroRecords");
// More then allowed
else if (query != null && role.isQueryMax(m_total))
{
ADialog.error(m_targetWindowNo, this, "FindOverMax",
m_total + " > " + role.getMaxQueryRecords());
m_total = 0; // return 0 if more then allowed - teo_sarca [ 1708717 ]
}
else
log.config("#" + m_total);
//