A family of Microsoft relational database management systems designed for ease of use.
Scott, I am really confused being less than a beginner with code. I'm not sure which "three lines" are the ones you suggested.
Could you please show me how the code should look?
OK, this was the original code I suggested:
Private Sub OpenImageBtn_DblClick(Cancel As Integer)
Dim strFile as String
strFile = "D:\Documents\Family Tree Maker\Wright-Jagoe(1) Media" & Me.DigitFileName
If DIR(strFile) = "" Then
MsgBox "File does not exist!"
Else
Application.FollowHyperlink strFile
End If
End Sub
You then said that you had photos in 2 folders and asked how to deal with it. So I posted just the lines that needed to be changed.
strFile1 = "D:\Documents\Family Tree Maker\Wright-Jagoe(1) Media" & Me.DigitFileName1
strFile2 = "D:\Documents\Family Tree Maker\Wright-Jagoe(1) Media" & Me.DigitFileName2
If DIR(strFile1) = "" OR DIR(strFile2) = "" Then
You have to use the whole code not just the modified lines.