Glenda, What exactly is your question? Are your first two queries Make Table queries and you are working off those tables to end up with the third query? If that is the case, you can simply change them to Select queries and use them directly in your third query. I take it you are using an Outer Join and null value criteria to come up with your third resultset? Can you give us a little more detail about how you are using each of these queries and what type of queries they are? I am also curious what your ODBC connection is to. You may be able to leverage the backend to improve performance as well. Thank You, James -----Original Message----- From: Glenda Wells [mailto:gwells@xxxxxxxxxxx] Sent: Wednesday, July 14, 2004 8:39 AM To: mso@xxxxxxxxxxxxx Subject: [mso] Access :VSMail mx1 Hi Access Gurus. I'm using an ODBC connection to get certain data. 1 query selects a group with a desired status code. 1 query selects a group with a negative status code. 1 query selects a group with the desired status code that is not in the negative status query. My end result is the group with only the desired status. I use this particular sequence in several databases. How can I set this up somehow so I don't have to keep recreating it (or copy/paste)...can it be a module? Thanks for information, guidance or advice. /glenda _____ << ella for Spam Control >> has removed 11433 Spam messages and set aside 0 Newsletters for me You can use it too - and it's FREE! www.ellaforspam.com ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles ************************************************************* ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************