Wait Form

  • Thread starter auujxa2 via AccessMonster.com
  • Start date
A

auujxa2 via AccessMonster.com

I have a wait form pop up when a "copy to desktop button" is clicked on
another form.

but, even though the code runs the way I need to, the contents of the wait
form don't display. (the text that says please wait, blah blah blah)

here is the on load code:

DoCmd.Close acForm, "frmWelcome"

DoCmd.Restore
Forms!frmWait.Visible = True

Dim SourceFile, DestinationFile
Dim CurrentUser As String

CurrentUser = Environ("UserName")
strFilePath = "C:\Documents and Settings\" & CurrentUser & "\Desktop\"

SourceFile = "F:\Moderate vs Better\Better vs Moderate Vendor Analysis.mdb"

DestinationFile = "C:\Documents and Settings\" & CurrentUser & "\Desktop\" &
"Better vs Moderate Vendor Analysis.mdb"

FileCopy SourceFile, DestinationFile

DoCmd.Quit

Thank you in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top