I have a simple Access 2007 frontend linked to and synchronize connections. User opens the access database, works on data off line, then re-links or synchronizes the databases changes back to sharepoint list. I can automate the connection using docmd.transfersharepointli
st command but it still prompts for the password and the login the first time it runs.
How can I pass the login and the password to the connection request from the event procedure? How can I detect the object that prompts for the name and send key to the okay button, or bypass the need to enter manually the Username or the password. This to be passed as coded into the event procedure
see this short screencast video for visual demonstration of the problem.
The Code sample
Private Sub cbnTestLinkingList_Click()
'link or relink table to application
Application.DoCmd.TransferSharePointList acLinkSharePointList, _
'how to pass the login and the password automatically to the connection request?