I would like to read the first line of my imported file tio check if the Period in my file is similar to the POVPeriod delected.
I decided to build a BefImport script to do that.
Below is an extract of that script where I open my file :
objFilePath = +"*<<Inbox Path>>*"+ & strFile
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists(objfilepath) Then
Set fs = fso.OpenTextFile(objfilepath,ForReading)
RES.PlngActionType = 6
RES.PstrActionValue = "Le fichier " & objfilepath & " est introuvable."
My problem is that I do not know my Inbox folder Path.
Is there a function or a property that give me this information, so I can add it in my obFilePath definition ?