Glenda, If you could have them create a View (or the Oracle equivalent) for you, your problem would quickly be solved. The processing would take place on the faster Oracle engine rather than Access's Jet engine. You could try to write your entire query into one SQL query and execute that in a module to create your table. Another idea might be to put your linked tables into their own database, having it update at specific intervalsand simply link your front-end databases to that table. James -----Original Message----- From: Glenda Wells [mailto:gwells@xxxxxxxxxxx] Sent: Wednesday, July 14, 2004 12:03 PM To: mso@xxxxxxxxxxxxx Subject: [mso] Re: Access :VSMail mx2 sadly I don't have such access. it's oracle based and in sql. I do have the capability of writing something in SQL though, can that help? /g -----Original Message----- From: James LaBorde [mailto:jlaborde@xxxxxxxxx] Sent: Wednesday, July 14, 2004 03:01 PM To: 'mso@xxxxxxxxxxxxx' Subject: [mso] Re: Access :VSMail mx3 Glenda, What system are the back-end tables in? If you have access to the tables, your best bet would be to make your queries into a View (In Microsoft SQL Server a view is essentially a saved query that you can access like a table). This would make it so all you had to do was link to the View rather than to the individual tables. James -----Original Message----- From: Glenda Wells [mailto:gwells@xxxxxxxxxxx] Sent: Wednesday, July 14, 2004 11:19 AM To: mso@xxxxxxxxxxxxx Subject: [mso] Re: Access :VSMail mx3 All three are queries James with a fourth as make-table based to get the desired result in a static list. The first two are select, the third is a not-in which is then run as a make-table which is used in various other queries and so forth. My question is how to turn this into something I could use over and over without having to copy the queries from place to place. We share data with various departments, most of which need this bit of basic information. So every time I create a new db for someone's specific use, the first steps I must take is load the ODBC tables, and run the make-table. I'd like a snippet of code or a module I could just grab from somewhere whenever I needed it. /g -----Original Message----- From: James LaBorde [mailto:jlaborde@xxxxxxxxx] Sent: Wednesday, July 14, 2004 12:38 PM To: 'mso@xxxxxxxxxxxxx' Subject: [mso] Re: Access :VSMail mx1 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?=3D20 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 _____=3D20 << 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 =3D20 ************************************************************* 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 ************************************************************* _____ =3D20 << ella for Spam Control >> has removed 11434 Spam messages and set aside 0 Newsletters for me You can use it too - and it's FREE! www.ellaforspam.com=3D09 ************************************************************* 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 ************************************************************* _____ =20 << 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=09 ************************************************************* 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 *************************************************************