Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

access vba courses in london - acces query out

Forum home » Delegate support and help forum » Microsoft Access Training and help » access vba courses in london - Acces - Query out of other queries

access vba courses in london - Acces - Query out of other queries

ResolvedVersion Standard

Adrienne has attended:
Access Introduction course

Acces - Query out of other queries

I have made many different queries out of one table. Could I make one new COMBINED query out of these?

Important to know is that these queries are all in a way formed that they are 'grouped', so totals are summed up together.

Thanks

Adrienne

RE: Acces - Query out of other queries

Hi Addrienne

Irrespective of how a query was created the system allows you to create new queries that call upon other queries.

When creating new queries you can use Tables, Queries or a mixture of both.

So to do this:

1. Create new Query in design view
2. In the Show Table Dialog box
3. Click the Queries tab
4. Select the queries to be used in the new query
5. In the Tables tab select any table if required

Finish designing the Quey as normal

When this new query is run the system will run the queries involved and from these results buid the final result.

Hope this helps

Carlos

RE: Acces - Query out of other queries

Hi Carlos,
Thank you for your response. However I'm afraid it didn't solve my problem. Let me try to make my question more clear.

I need to make a report that will show all the outcomes of various queries. The queries I've build have all a calculation of the records with the same City name, since I've created them all by using the 'Group by' option , choosing 'Count'.

This was necessary to get a in Query 1 PER CITY how many x we have. And in Query 2 PER CITY how many y happened. etc.

My initial thought was to create a combined query, but in a way that these calculations of records per city continue to exist.

But everytime I try to combine these queries in a new query the calculation doesn't work.

Would there be another way in getting all these calculations together in one overview.

Could I for instance build a report adding information from the multiple queries? In that way avoiding that I need to make a new Combined query?

I really hope you can help!

Thanks

Adrienne

Edited on Mon 10 Dec 2007, 10:42

RE: Acces - Query out of other queries

Adrienne

I need to look at this closely.

It would help if you could send me the database so I could look at the queries.

If U can, send it to

info AT stl-training.co.uk


Carlos

RE: Acces - Query out of other queries

Hi Carlos

Thank you for your help. In the meantime some one has helped me and showed me the way to do this.

Thanks for the offer though, much appreciated.

Regards

Adrienne

Access tip:

Related tables

When you have related tables such as Customers and their Orders, the Customer table is the Primary table.

Open the Customers table in datasheet view and go to the Home Tab and Records group. Click on the More option and choose Subdatasheet and then click on Subdatasheet again. Now choose the related table (Orders) and click ok.

Now you can click the + symbol by each company to show the related orders.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.