I would like to be able to show the data of two fields from a table (combined them) into one one field from a query?
How can I do that? Is this possible?
So you are not trying to combine/concatinate two fields.
I don't understand what you're after. What would the result of 1 row look like?
Is this a formatting thingie only, is this supposed to be working in a report, you could simply put the textcontrols below eachother in the detail section, or use a concatination using for instance something like this in the textbox controlsource:
You talk about having two fields in the same table, but you illustrate it as if it where one field in two different tables - so I'm just getting more and more confuese (that is - even more than usual;-))
Illustration of two fields in the same table might look more like this:
[tt]
FRUIT VEGETABLE
apple peas
pear potatoe
orange beans
pinaple carrots
(etc) (etc)[/tt]
Here's a little sample using a "union self query" that might (or might not) be something in the direction you need (bringing both the primary key field and the vegetable/fruit thingie).
[tt]Select tbl1.PK, tbl1.Vegetable From tbl1
UNION
Select tbl1.PK, tbl1.Fruit From tbl1
ORDER BY Vegetable[/tt]
Should you be using two tables, a union query might still be used, just work on the table names.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.