* Get Query - Retrieve result
* @return String representation of query
*/
public MQuery getQuery()
{
MRole role = MRole.getDefault();
if (role.isQueryMax(getTotalRecords()) && !m_isCancel)
{
m_query = MQuery.getNoRecordQuery (m_tableName, false);
m_total = 0;
log.warning("Query - over max");
}