M
MichelleNH
I have a form which has a field called "Reports". This field contains a
hyperlink to a .zip file on our main server. I'm trying to create a command
button which copies the target and pastes it to another folder
(\\Qc_pdc\pptd\Log\Reports\FY Reports 2006) on the server. I have tried
using FileCopy (and I'm under the impression that my solution involves this
function) but I get so many errors, and I'm not familiar with this programing
language to adaquately debug my code. Here's what I have.
Private Sub Command52_Click()
Dim linksource As String
Dim linkdestination As String
linksource = "Me.Report" '1
linkdestination = "\\Qc_pdc\pptd\Log\Reports\FY Reports 2006" &
[ReferenceNo]& ".zip" '1
FileCopy linksource, linkdestination
End Sub
Feel free to laugh at me, my last programing adventure was my sophomore year
in college (6 years ago) so I have no clue what I'm doing.
hyperlink to a .zip file on our main server. I'm trying to create a command
button which copies the target and pastes it to another folder
(\\Qc_pdc\pptd\Log\Reports\FY Reports 2006) on the server. I have tried
using FileCopy (and I'm under the impression that my solution involves this
function) but I get so many errors, and I'm not familiar with this programing
language to adaquately debug my code. Here's what I have.
Private Sub Command52_Click()
Dim linksource As String
Dim linkdestination As String
linksource = "Me.Report" '1
linkdestination = "\\Qc_pdc\pptd\Log\Reports\FY Reports 2006" &
[ReferenceNo]& ".zip" '1
FileCopy linksource, linkdestination
End Sub
Feel free to laugh at me, my last programing adventure was my sophomore year
in college (6 years ago) so I have no clue what I'm doing.