M
Mike Watson
I've got an unbound object frame in an Access 2000 form. I keep the
full file paths of word docs in a table. The table is in an Access
database on a remote file share. The docs are in a remote file share.
When the user navigates to a rec in table the On Current event of the
form sets the frame to the current word document:
Dim ole As ObjectFrame
If Not IsNull(Me!txtPrestazioneID) Then
Set ole = Me!oleLettera
With ole
.SourceDoc = Me!txtFilePath
.Action = acOLECreateLink
End With
End If
If the user deletes the rec I try to first try to unlink the doc from
the frame and delete the file:
Set ole = Me!oleLettera
With ole
.SourceDoc = ""
.Action = acOLEDelete
End With
Kill Me!txtFilePath
The Kill statement provokes Error 70, Permission denied.
Can anyone help?
full file paths of word docs in a table. The table is in an Access
database on a remote file share. The docs are in a remote file share.
When the user navigates to a rec in table the On Current event of the
form sets the frame to the current word document:
Dim ole As ObjectFrame
If Not IsNull(Me!txtPrestazioneID) Then
Set ole = Me!oleLettera
With ole
.SourceDoc = Me!txtFilePath
.Action = acOLECreateLink
End With
End If
If the user deletes the rec I try to first try to unlink the doc from
the frame and delete the file:
Set ole = Me!oleLettera
With ole
.SourceDoc = ""
.Action = acOLEDelete
End With
Kill Me!txtFilePath
The Kill statement provokes Error 70, Permission denied.
Can anyone help?