Hi All,
Thanks for the help.
I have a little problem, and i'm hoping somebody here will be able to tell me where i'm going wrong.
I have a program written in VBA that connects to an SQL database. The VBA program reads in the data from the SQL using the MoveNext command - so it reads each individual line in the database, does something with it in the VBA, and then moves to the next line. Wash, rinse, and repeat. This happens for 20,000 rows.
My problem is that the server is in London, and i'm in Sheffield - for my London colleagues this only takes a second or two to do, while for me in Sheffield it takes around 10 times longer! Our machines are equivalent, so i can only assume it is the communcation time.
It isn't a massive issue, but it is something i would like to investigate.
I've tried to work out how to take the entire entry into VBA in one go, which would reduce the communication time, but so far i haven't be able to work it out.
I'm fairly new to both SQL and VBA.
Thanks!
Thanks for the help.
I have a little problem, and i'm hoping somebody here will be able to tell me where i'm going wrong.
I have a program written in VBA that connects to an SQL database. The VBA program reads in the data from the SQL using the MoveNext command - so it reads each individual line in the database, does something with it in the VBA, and then moves to the next line. Wash, rinse, and repeat. This happens for 20,000 rows.
My problem is that the server is in London, and i'm in Sheffield - for my London colleagues this only takes a second or two to do, while for me in Sheffield it takes around 10 times longer! Our machines are equivalent, so i can only assume it is the communcation time.
It isn't a massive issue, but it is something i would like to investigate.
I've tried to work out how to take the entire entry into VBA in one go, which would reduce the communication time, but so far i haven't be able to work it out.
I'm fairly new to both SQL and VBA.
Thanks!
Comment