Union qry- results show #'s not words

Tech-Archive recommends: Speed Up your PC by fixing your registry



I reached a roadblock on my current database. I have multiple tables for
data entry for each type of product we run. For example, product Crag 4/6
has it's own table of data entry and Island 4/6 has it's own. Each product
has it's own lookup table of flavors depending on the product. Craig 4/6 has
it's own flavor list and so on. These flavors have a unique ID. I used a
union querry to combine all the different types of flavors to one list.
I then made a union qry to combine al the data from all the different
product mixes so I could use this qry to run reports and so forth. The
problem is the Union qry (that combines all the data from all the tables)
shows my ID numbers not the test of what the flavor is.

SQL from Union qry= combines all the tables data
SELECT *
FROM [YTD Craigmont 6 pack Log] <--( a qry producing calculated data)
UNION SELECT *
FROM [YTD Island 6 pack Log]; <--( a qry producing calculated data)

(this qry produces the ID for flavors not the words)

My table that has all the flavors is called "All Flavors"

How can I get the SQL to report the flavors as the test not the ID

.



Relevant Pages

  • Re: Union qry- results show #s not words
    ... Island 4/6 (flavors for this product) ... Island 6 pack Log but the results I want to use in my Union ... table should be matching the results I get from my UNION qry. ...
    (microsoft.public.access.queries)
  • Re: Union qry- results show #s not words
    ... These flavors have a unique ID. ... I then made a union qry to combine al the data from all the different ... product mixes so I could use this qry to run reports and so forth. ... How can I get the SQL to report the flavors as the test not the ID ...
    (microsoft.public.access.queries)
  • Re: Union qry- results show #s not words
    ... Filler - valve broke with 3 being the ID for Filler ... Tbl Island 4/6 Log ... Flavor- Look-up tbl Island 4/6 for a drop down a different flavors ... I then made a union qry to combine al the data from all the different ...
    (microsoft.public.access.queries)
  • Re: Union qry- results show #s not words
    ... Filler speed- number ... Tbl Island 4/6 Log ... Flavor- Look-up tbl Island 4/6 for a drop down a different flavors ... I then made a union qry to combine al the data from all the different ...
    (microsoft.public.access.queries)
  • Re: TempDB
    ... LOTS of things, especially in sql 2005+. ... inherent sort), various flavors of spools, MARS, etc. ... DISTINCT, Sort, CROSS Join, temp tables, ...
    (microsoft.public.sqlserver.server)