Programmatically querying a linked Sharepoint list

G

Guest

I have an Access 2003 update query which updates a linked Sharepoint list
with information from a linked SQL table. The Sharepoint list is on a site
that requires login so when I run the query manually it challenges me with
website credentials, which I provide manually.

I want to run this query programmatically and schedule it to run several
times a day but I do not know how.
 
J

Joshua A. Booker

If the machine running the Access app has the SharePoint site listed in the
IE Trusted Sites Zone then you should not get the login prompt from Access.

HTH,
Josh
 
G

Guest

That by itself did not work.

Maybe its failure has as much to do with how I am trying to rerun the query.

I have created a DTS package that runs a SQL command of 'Select * from
QUERYNAME'. Since it's an update query, this script does not return any rows.

Is there a better (successful) way this could be programmed?

Many thanks,
 
J

Joshua A. Booker

Depending on the type of authentication specified in IIS on the sharepoint
server, trusted zones might not solve this.

I would try a linked table in Access to the sharepoint list and update that
table using an Access Update Query.

HTH,
Josh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top