Filecopy

  • Thread starter Thread starter Rubens
  • Start date Start date
R

Rubens

Hi,

Using the following code in Access 2003 with windows XP:

line 1 start = now
line 2 filecopy a, b
line 3 end = now

Can I be sure that line 3 will only execute AFTER the filecopy in line 2 is
finished ? If this is the case then end - start = time needed for filecopy ?

If this is not the case, how can I be sure that line 3 will only be executed
AFTER filecopy in line 2 is finished ?

Thanks.
 
On Sun, 16 May 2010 12:54:01 -0700, Rubens

Try it with a really big file, and post back with your answer.
Thanks,

-Tom.
Microsoft Access MVP
 
Hi,

Using the following code in Access 2003 with windows XP:

line 1 start = now
line 2 filecopy a, b
line 3 end = now

Can I be sure that line 3 will only execute AFTER the filecopy in line 2 is
finished ? If this is the case then end - start = time needed for filecopy ?

If this is not the case, how can I be sure that line 3 will only be executed
AFTER filecopy in line 2 is finished ?

Thanks.

I'm not certain that it will prevent the problem, but I would suggest putting
in a line between 2 and 3:

DoEvents
 
Back
Top