Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Private Function checkconn()
  2.  
  3. Dim strConnect As String
  4. Dim lngLocation As String
  5.  
  6. strConnect = CurrentDb.TableDefs("dbo_buh_summary").Connect
  7. lngLocation = InStr(strConnect, ";DATABASE=")
  8. If lngLocation <> 0 Then
  9. GetDataPath = Mid(strConnect, lngLocation + 10)
  10. End If
  11.  
  12. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement