I have data base that at present I use a Docmd Run Sql to create a table based on a field not being Null and grouped by a batch number. I use that table in another Docmd RunSQL to filter all the records with the Batch numbers from the first table and make another table.
To me this seems very clumsy and wondered if the two procedures could be combined so as the first query became the Having or Where clause of the second. The last table is used to produce a report so if I could combine the two procedures I coal avoid creating the table altogether I would hope.
Thanks