***These are both Access 2000 databases.
I want to put a button on a form in DB1, and when the button is pressed, I want to update field1 (or whatever the field is called) in DB2 to "Richard (or whatever value is decided to be set)." What VB code would I need in order to make this happen? I think it would be something similar to this, but I am missing the if....then portion of it.
Private Sub Update()
Dim IsFormLoaded As Boolean
Dim AccessDB As DAO.Database
IsFormLoaded = False
If ....... Then
End If
I want to put a button on a form in DB1, and when the button is pressed, I want to update field1 (or whatever the field is called) in DB2 to "Richard (or whatever value is decided to be set)." What VB code would I need in order to make this happen? I think it would be something similar to this, but I am missing the if....then portion of it.
Private Sub Update()
Dim IsFormLoaded As Boolean
Dim AccessDB As DAO.Database
IsFormLoaded = False
If ....... Then
End If