Populate text boxes from union query?

G

Guest

I have a union query that searches 3 tables for a store number, scope of work
and completion date. I want to take the results of this query for each store
and display them in text boxes on a History tab in the main form.

SELECT [StoreNumber], [TargetCompletion], [ScopeofWork]
FROM [RemodelInfo]
WHERE [TargetCompletion] is not Null

Given that different stores will have different numbers of records for each
one (i.e. we remodeled store #1 twice, but #95 has been done 5 times) how do
I reference the query as the data source for the fields?
 
G

Guest

Klatuu, did I loose you from my list box ? if so pls let me know. thanks, rob

Klatuu said:
Create a subform that uses your query as it's record source.
--
Dave Hargis, Microsoft Access MVP


Karen.Reedy said:
I have a union query that searches 3 tables for a store number, scope of work
and completion date. I want to take the results of this query for each store
and display them in text boxes on a History tab in the main form.

SELECT [StoreNumber], [TargetCompletion], [ScopeofWork]
FROM [RemodelInfo]
WHERE [TargetCompletion] is not Null

Given that different stores will have different numbers of records for each
one (i.e. we remodeled store #1 twice, but #95 has been done 5 times) how do
I reference the query as the data source for the fields?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top