Hi
I am trying to run query on a large sql server view linked in ms access. the view table has records in millions and I am trying to get data from that view table for around 2300 people. but query always time out/odbc call failed.
I am able to run query if I filter for one person.
I also tried using dao on the form where I run code to fetch data via dao in loop but after 20 or so it fails odbc.
when I run query per person it take around 15 to 20 sec to fetch data for one person as one person has multiple records.
so I cant find a way to fetch data, do one by one would take so much time.
so you guys expert in vba and sql server, is there any way, method, any technique to do this?
thanks for your help
I am trying to run query on a large sql server view linked in ms access. the view table has records in millions and I am trying to get data from that view table for around 2300 people. but query always time out/odbc call failed.
I am able to run query if I filter for one person.
I also tried using dao on the form where I run code to fetch data via dao in loop but after 20 or so it fails odbc.
when I run query per person it take around 15 to 20 sec to fetch data for one person as one person has multiple records.
so I cant find a way to fetch data, do one by one would take so much time.
so you guys expert in vba and sql server, is there any way, method, any technique to do this?
thanks for your help