[mso] Re: Access Queries :VSMail mx4

  • From: James LaBorde <jlaborde@xxxxxxxxx>
  • To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
  • Date: Thu, 1 Jul 2004 09:28:11 -0700

Glenda,

How are you determining the most desired combination for each UID?  If you
can give us that, it might help in getting you the resultset you want.

James

-----Original Message-----
From: Glenda Wells [mailto:gwells@xxxxxxxxxxx]
Sent: Thursday, July 01, 2004 6:15 AM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access Queries :VSMail mx4


I know unions dave but not sure how it would help here.  the data is in
a master table. each UID can have multiple different or multiple
identical entries in the master. the desired result is the first desired
combination then the second desired and so forth with only one result
per UID...the most desired combination.  if you're talking union, should
it be a union of the master to itself?=20

-----Original Message-----
From: Dave Sharpe [mailto:DaveSharpe2@xxxxxxx]
Sent: Wednesday, June 30, 2004 05:50 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access Queries

Glenda

If I read the question property, I thing that using a "UNION" query
approach.

Are You familiar with how do a "UNION" query ?

dave

----- Original Message -----
From: "Glenda Wells" <gwells@xxxxxxxxxxx>
To: <mso@xxxxxxxxxxxxx>
Sent: Wednesday, June 30, 2004 4:26 PM
Subject: [mso] Access Queries


Hi All.
I pull data in Access like this with multiple types and positions
available. I only want 1 record for each UID in the following order.

UID     Type 1  Position 1
UID     Type 1  Position 2
UID     Type 2  Position 1
UID     Type 2  Position 2

Typically, I do it like this:

make table query to extract Type 1, Position 1
then append queries for the other records in order listed. the append
queries are based on select queries with a not-in statement so I don't
append records that already have the UID in the original table

The end result is one table with all types and positions represented and
no duplicates.

I do it this way because each Type and Position could be multiple in the
master table.

Is there a better way for this kind of thing...something more
straightforward? Currently it take several steps to get where I'm going
and I want to streamline the process.

make table TypePosition (Type 1 Position 1)
select query T1P2 (UID not already in TypePosition)
apn query T1P2 ((UID not already in TypePosition)
select query T2P1 ((UID not already in TypePosition)
apn query T2P1 (UID not already in TypePosition)
select query T2P2 (UID not already in TypePosition)
apn query T2P2 (UID not already in TypePosition)


  _____

<< ella for Spam Control >> has removed 11259 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
*************************************************************



  _____ =20

<< ella for Spam Control >> has removed 11274 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
*************************************************************

Other related posts:

  • » [mso] Re: Access Queries :VSMail mx4