Morning Everyone,

i am hoping that someone will be able to answer a query i have about queries in ms access.

i have code which automatically generates queries which is great but after so long the amount of queires in the window is never ending so ideally i would like to do either of the following processes

a. When creating the query automatically, have the code move the query into a group at the same time


b. Move the queries into a new group at a later stage.

i am hoping that there is code which enables you to move a query into a custom group. i know there is a acCmdAddToNewGroup command but that only works if you adding it to a new group, i want to be able to add it to an existing group.

any ideas and help will be much appreciated.