phoenxMan
asked on
Automatic linking to Sharepoint list from access 2007 database
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
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.
http://www.screencast.com/t/vpwDObl2
The Code sample
Private Sub cbnTestLinkingList_Click()
'link or relink table to application
Application.DoCmd.TransferSharePointList acLinkSharePointList, _
"http://adzzoo.sharepointsite.net/Campaigns", _
"Adzzoo Contacts"
'how to pass the login and the password automatically to the connection request?
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.