Editor's Note: This article is adapted from the new book Programming Microsoft Dynamics NAV 2015 by David Studebaker and Christopher Studebaker, published by PACKT. The Query object in Microsoft ...