theVal = SELF ' see if the value of the field is not null if (not (theVal.IsNull)) then ' if the file listed in the field exists, then play the video if (File.Exists(theVal.AsFileName)) then ' use the path to the video player executable System.Execute("c:\Tools\iview\i_view32.exe"++theVal) else ' if the file doesn’t exist, tell the user MsgBox.Warning("File "+theVal+" not found.","Hot Link") end end