The following code displays the form, but does not allow me to change the
value of any of the fields in the form. Can someone please tell me why,
because I sure can't figure it out. The form works fine in Access.
Notes:
The database is not marked read only.
I am the only user accessing the database (it is not locked by someone else).
Public Sub UDSloc()
Dim strDatabasePath As String
strDatabasePath = "C:\database\test.MDB"
Dim appAccess As access.Application
Set appAccess = CreateObject("Access.Application")
appAccess.OpenCurrentDatabase strDatabasePath
appAccess.Visible = True
appAccess.DoCmd.OpenForm "Test"
Set appAccess = Nothing
End Sub
Thanks for your help!
Archived from group: microsoft>public>vb>ole>automation