Kobus-Dippenaar
Registered User.
- Local time
- Today, 08:48
- Joined
- Oct 10, 2014
- Messages
- 50
Good day to all,
I have a simple query reading the records in a table and testing if the link on file has a folder\file on disc.
I get alternative messages that both entries does exist and when I run the report again I would get both not to exist.
(Only two records on file)
The truth is only the d:\0000 path exists on my D drive.
The query has an event procedure on load with the following code:
Private Sub Report_Load()
Dim xdir As String
xdir = Dir(Me.Link)
If xdir <> "" Then
Me.Text9 = "file does exist"
Else
Me.Text9 = "file does not exist"
End If
End Sub
I welcome your feedback.
Thanks
Kobus
I have a simple query reading the records in a table and testing if the link on file has a folder\file on disc.
I get alternative messages that both entries does exist and when I run the report again I would get both not to exist.
(Only two records on file)
The truth is only the d:\0000 path exists on my D drive.
The query has an event procedure on load with the following code:
Private Sub Report_Load()
Dim xdir As String
xdir = Dir(Me.Link)
If xdir <> "" Then
Me.Text9 = "file does exist"
Else
Me.Text9 = "file does not exist"
End If
End Sub
I welcome your feedback.
Thanks
Kobus