G
Guest
I have a small application that links to SQL Server to update a spreadsheet
that resides in Access.
I have 36 separete update statements that are called by one Macro script.
The first script Turns off all the warnings and then it follows up with 35
scripts and each one calls an Update Query. My problem is that if I run the
query it works fine (asynchronosuly) and then on my Macro it runs good some
of the time and then some of the time it doesn't run good.
Is there supposed to be some "wait" that I should put since of the great
amount of queries that my script calls? and then how does the script know
that the last call has occurred and it is ready for the next call (update
query) to be executed?
Can someone shed light on this for me? It's driving me nuts, especially if
the updates work good and then they don't update at all. I checked the query
statements and they are syntaxed correctly, but the updates don't ocurr
sometimes.
Also, some of the info, it reads from is from SQL and it does an INSERT to a
spreadsheet in my Access database. Is there some lag time there, do you
think?
Thanks in advance for any guidance you may provide me since I am to the last
resort on this.
that resides in Access.
I have 36 separete update statements that are called by one Macro script.
The first script Turns off all the warnings and then it follows up with 35
scripts and each one calls an Update Query. My problem is that if I run the
query it works fine (asynchronosuly) and then on my Macro it runs good some
of the time and then some of the time it doesn't run good.
Is there supposed to be some "wait" that I should put since of the great
amount of queries that my script calls? and then how does the script know
that the last call has occurred and it is ready for the next call (update
query) to be executed?
Can someone shed light on this for me? It's driving me nuts, especially if
the updates work good and then they don't update at all. I checked the query
statements and they are syntaxed correctly, but the updates don't ocurr
sometimes.
Also, some of the info, it reads from is from SQL and it does an INSERT to a
spreadsheet in my Access database. Is there some lag time there, do you
think?
Thanks in advance for any guidance you may provide me since I am to the last
resort on this.