Query of a Query possible?

knauftj

New Member
Joined
Jun 14, 2005
Messages
27
I have a query called A that includes a field called DuesAmount. This field is pulled from a second query I'll call B. Query B includes a field called DuesDate that needs to be filtered by a field in Query A called LastDuesDate. I've tried several things to accomplish this but I keep running into circular reference errors (for obvious reasons). Any ideas to pass the LastDuesDate field to Query B? Thanks.

Jon
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
If A depends on B which depends on A you may have a truly impossible situation. Can you construct a third independent query with the LastDuesDate criteria needed by A, so B can call A without A calling B?
 
Upvote 0
Alexander,

You gave me an idea. I think I might be able to do away with Query B which is causing all the issues. I'm going to use a DLookup to pull the amounts I need that were being calculated by Query B. I may lose some performance but the end result will be easier to maintain moving forward. Thanks.

Jon
 
Upvote 0

Forum statistics

Threads
1,203,064
Messages
6,053,320
Members
444,653
Latest member
Curdood

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top