vba - Connection to two (or more) sharepoint lists with ADODB -
vba - Connection to two (or more) sharepoint lists with ADODB -
i can connect sharepoint list adodb way :
dim objcon new adodb.connection objcon.open "provider=microsoft.ace.oledb.12.0;wss;imex=2;retrieveids=yes;database=mysite/documents;list={xxxx-guid-xxxx};" dim rst recordset set rst = objcon.execute("select * list1) and it's working :).
now, connect 2 list @ same time inner bring together :
set rst = objcon.execute("select * list1 inner bring together list2) but don't find syntax set sec list guid on connection string. how can ?
from microsoft http://msdn.microsoft.com/en-us/library/ee633650.aspx
selecting fields multiple lists not supported. can create dataset each list , select fields each dataset.
i don't know environement me easiest way accomplish create 2 linked tables pointing on sharepoint lists , can manipulate info way want.
vba sharepoint connection-string recordset
Comments
Post a Comment