Hi,
I am using Access as a pass thru db and calling queries in the access DB from HTML(VBscript), this works fine.
Here is my problem:
I have several queries that extract and sum data based on date and Customer Number. Call them underlying queries A and B.
Then, I have a third query (call it Final) that uses the results of the first 2 queries (A and B above) to provide my final result set.
I can pass the Customer Number and date to the 'Final/third' query and it works, but the first 2 queries must process all records, so it slows down.
Now, If I was in an Access program, I could set parameters for those 2 intial queries(A andB), I could also pass parameters.
But, I am calling from HTML, so:
My question: Is there a way to call my (Final) query, with parameters and have that query pass those parameters to the underlying (A and B) queries?
Thanks,
Hap...
Access Developer
Access based Add-on Solutions
Access Consultants forum
I am using Access as a pass thru db and calling queries in the access DB from HTML(VBscript), this works fine.
Here is my problem:
I have several queries that extract and sum data based on date and Customer Number. Call them underlying queries A and B.
Then, I have a third query (call it Final) that uses the results of the first 2 queries (A and B above) to provide my final result set.
I can pass the Customer Number and date to the 'Final/third' query and it works, but the first 2 queries must process all records, so it slows down.
Now, If I was in an Access program, I could set parameters for those 2 intial queries(A andB), I could also pass parameters.
But, I am calling from HTML, so:
My question: Is there a way to call my (Final) query, with parameters and have that query pass those parameters to the underlying (A and B) queries?
Thanks,
Hap...
Access Developer
![[pc] [pc] [pc]](/data/assets/smilies/pc.gif)
Access Consultants forum