Dim myArray() As String
Dim iarray As Integer
Dim strReportAppPath As String
myArray = Split(dbpath, "\"
For iarray = 0 To UBound(myArray) - 1 'don't want last cell
'which contains name of main database
If Trim$(myArray(iarray)) <> "" Then
strReportAppPath = strReportAppPath & myArray(iarray) & "\"
Else
strReportAppPath = strReportAppPath & "\"
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.