D
DS
What exactly does this return, it's been awhile and I've seem to have
forgotten.
I'm using it to check a path if its valid. I keep getting INVALID PATH
even though I know the path is there.
Thanks
DS
strPath = \\Backoffice\BU\Data2.mdb
On Error Resume Next
If Len(Dir$(strPath)) > 1 Then
If Err.Number <> 0 Then
DoCmd.OpenForm "frmMsgSelect"
Forms!frmMsgSelect!TxtMsg = "INVALID PATH"
ElseIf Err.Number = 0 Then
End If
End If
forgotten.
I'm using it to check a path if its valid. I keep getting INVALID PATH
even though I know the path is there.
Thanks
DS
strPath = \\Backoffice\BU\Data2.mdb
On Error Resume Next
If Len(Dir$(strPath)) > 1 Then
If Err.Number <> 0 Then
DoCmd.OpenForm "frmMsgSelect"
Forms!frmMsgSelect!TxtMsg = "INVALID PATH"
ElseIf Err.Number = 0 Then
End If
End If