adam.greer
Registered User.
- Local time
- Today, 12:31
- Joined
- Apr 27, 2006
- Messages
- 43
Hi Guys
Trying to copy a large amount of files based on fields in a query
The code is very simple
Private Sub Command4_Click()
FileCopy Query_qryFilename.Filepath, "C:\Pulse Local Database" & Query_qryFilename.Filename
End Sub
However I get the '424 Error, Object Required'. The code works when referenced from a field in a form, but that means I can only copy one file at a time not the 100's needed.
Any ideas?
Thanks
Adam
Trying to copy a large amount of files based on fields in a query
The code is very simple
Private Sub Command4_Click()
FileCopy Query_qryFilename.Filepath, "C:\Pulse Local Database" & Query_qryFilename.Filename
End Sub
However I get the '424 Error, Object Required'. The code works when referenced from a field in a form, but that means I can only copy one file at a time not the 100's needed.
Any ideas?
Thanks
Adam