BF [ 2001588 ] Zoom Across to more than 10 records

This commit is contained in:
teo_sarca 2008-06-24 09:52:40 +00:00
parent c2f79f4795
commit 468c77b8fa
1 changed files with 2 additions and 1 deletions

View File

@ -874,8 +874,9 @@ public final class APanel extends CPanel
*/
private MQuery initialQuery (MQuery query, GridTab mTab)
{
MRole role = MRole.getDefault(m_ctx, false);
// We have a (Zoom) query
if (query != null && query.isActive() && query.getRecordCount() < 10)
if (query != null && query.isActive() && !role.isQueryMax(query.getRecordCount()))
return query;
//
StringBuffer where = new StringBuffer();