Re: how to pause code without using msgbox? by Rich
Rich
Tue Jan 20 11:49:35 CST 2004
Thanks all for these suggestions and for the link. My
goal, however, is to use apps which don't require any
installing of software on my part. For example, the apps
that I need to copy the latest versions of on each
workstation are just Excel apps. My boss wants me to keep
the latest and greated version on each workstation without
having to install anything more than Mdac. So for the
meantime, I am simulating sleep by reading a bunch of rows
from a junk table in Access. Of course, the hassel here
is that I now have a bunch of do loops all over the
place. Oh well.
Rich
>-----Original Message-----
>ScriptX from Meadroid, free part has wait method.
>
>--
>Joe
>"Rich" <anonymous@discussions.microsoft.com> wrote in
message
>news:0c4301c3deea$348fd1e0$a501280a@phx.gbl...
>> Well, the only workaround I have come up with is to run
a
>> loop where I read 100 rows from a table, exit the loop
>> move onto the next procedure. If anyone has a better
>> solution for pausing code, please share.
>>
>> >-----Original Message-----
>> >Hello all,
>> >
>> >Many thanks to all who help me out here. Anway, I am
>> >updating tables in an Access mdb from my app and then
>> >copying files from a server to various workstations.
>> What
>> >happens is that the code will get to a FileCopy command
>> >before various tables have finished updating where the
>> >FileCopy command uses data from the tables. I have
been
>> >using msgbox "Pause" to stop code execution, but this
is
>> >not seamless. I believe my solution lies here:
>> >
>> >Set Shl = CreateObject("WScript.Shell")
>> >
>> >But what comes after Shl....?
>> >
>> >Any suggestions how to pause code execution (without
>> >msgbox) greatly appreciated.
>> >
>> >Thanks in advance.
>> >Rich
>> >.
>> >
>
>
>.
>