private void cmd_ok_Advanced(){
  m_isCancel=false;
  cmd_save(true);
  if (getNoOfRecords(m_query,true) != 0)   dispose();
}

private void cmd_ok_Advanced ( ) { m_isCancel = false ; cmd_save ( true ) ; if ( getNoOfRecords ( m_query , true ) != 0 ) dispose ( ) ; }
advanced ok button pressed
