いろいろ備忘録日記

主に .NET とか Go とか Flutter とか Python絡みのメモを公開しています。

ADOでカレントデータベースのコネクションを取得

ADOでカレントデータベースのコネクションを取得

    Dim conn As ADODB.Connection
   
    Set conn = CurrentProject.Connection
   
    MsgBox conn.ConnectionString
   
    conn.Close: Set conn = Nothing