Refresh Method Example 2 (Data Access)

The example uses the Refresh method and the Exclusive property to change an open database from multiuser to single-user access.

Data1.Exclusive = True
Data1.Refresh