Hi. I'm trying to create a query that will take a list of quantites and add them to total a given quantity. I have a table with hundreds of individual records. I input a quantity and the query tries to find that exact quantity or multiple quantities that when added equal that quantity. I would also like it to use the least amount of records to do so. For instance, I have a quantity of 613. I'm looking for one of the following results...one entry in a table that = 613, 2 entires that toal 613 (e.g. 300 and 313), three that equal 613 and so on. I do not want 613 records of 1 to show up. Is this possible?
Thanks