def getColumnListForQuery( id, name )
      clistForQuery = nil
      if id
         query = lookupQuery( id )
      elsif name
         query = lookupQueryByName( name )
      end
      if query and query.elements["qyclst"]
         clistForQuery = query.elements["qyclst"].text.dup
      end
      clistForQuery
   end
def getColumnListForQuery( id, name )
      clistForQuery = nil
      if id
         query = lookupQuery( id )
      elsif name
         query = lookupQueryByName( name )
      end
      if query and query.elements["qyclst"]
         clistForQuery = query.elements["qyclst"].text.dup
      end
      clistForQuery
   end
Returns the clist associated with a query.