Heenan, Lambert
Lambert.Heenan at AIG.com
Tue Dec 28 11:59:28 CST 2004
Or, alternatively... Create the two (or more) queries that you want to wind up being part of a union query, all done using the grid and save them all as regular queries, for the sake of this discussion call them 'Query1', 'Query2' etc. Then you can create another new query, open the empty SQL view and type in Select * from Query1 Union Select * from Query2; (and so on). The great advantage of this is that if you need to do any maintenance on any or all parts of the union query you can do so in the query design grid with each of the separate queries that combine to make the union query. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg > Sent: Thursday, December 23, 2004 4:14 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Union Queries > > Good Idea.... sorry about the wrong subject line. > ----- Original Message ----- > From: Hale, Jim<mailto:Jim.Hale at fleetpride.com> > To: 'Access Developers discussion and problem > solving'<mailto:accessd at databaseadvisors.com> > Sent: Thursday, December 23, 2004 2:16 PM > Subject: RE: [AccessD] Capture That Record Number > > > no wizard but you can make two separate queries using the grid and save > them, switch to sql view in one of them, type the word "Union" at the > end > and cut and paste the sql from the second query. Pretty simple. Of > course, > the field data types must be the same. > Jim Hale > > -----Original Message----- > From: Gregg [mailto:greggs at msn.com] > Sent: Thursday, December 23, 2004 2:05 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Capture That Record Number > > > Is there a wizard or tool out there to make Union Queries? Seems like > there > ought to be some sort of grid layout format that create the SQL. > Thanks... > and OT... Merry Christmas! > > Gregg Steinbrenner > -- > AccessD mailing list > AccessD at databaseadvisors.com<mailto:AccessD at databaseadvisors.com> > > http://databaseadvisors.com/mailman/listinfo/accessd<http://databaseadviso > rs.com/mailman/listinfo/accessd> > Website: > http://www.databaseadvisors.com<http://www.databaseadvisors.com/> > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email.-- > AccessD mailing list > AccessD at databaseadvisors.com<mailto:AccessD at databaseadvisors.com> > > http://databaseadvisors.com/mailman/listinfo/accessd<http://databaseadviso > rs.com/mailman/listinfo/accessd> > Website: > http://www.databaseadvisors.com<http://www.databaseadvisors.com/> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com