Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Function checkconn()
- Dim strConnect As String
- Dim lngLocation As String
- strConnect = CurrentDb.TableDefs("dbo_buh_summary").Connect
- lngLocation = InStr(strConnect, ";DATABASE=")
- If lngLocation <> 0 Then
- GetDataPath = Mid(strConnect, lngLocation + 10)
- End If
- End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement