Perhaps you guys can point me in the right direction

DrMike

New member
Local time
Today, 02:47
Joined
Aug 5, 2008
Messages
5
So I need to find a way to verify paths that exist in a column of one of my db table for example Table: S_T Column:S_MPEG_Name

In this column exists information that points to certain files for Ex:

C:\Video\08_22_2008.mpg

I am hoping for some advice on the best way to verify that the file exists in this location some sort of verification tool.

What would be the best programming language to create an application that would allow me to do this?

Or do you know of a utility that exists that is capable of this?

Thanks in advance
 
Look at the Dir function in VBA help.
 
I looked at the dir function but it appears its for excel not access... Am I doing something wrong here? care to share more?
 
how about

Code:
Public Function FileExists(strFile As String) As Boolean

    If Dir(strFile) <> "" Then
        FileExists = True
    Else
        FileExists = False
    End If


end Function
 
Yes but I am new to this whole vb programming so i would assign this function to a column label ? or to the table as well as the column label ?
 
Put DV's code in a module and put:
Code:
=FileExists(Me.FieldName)

in an unbound control.
 

Users who are viewing this thread

Back
Top Bottom