I have two tables linked with sharepoint lists. And I have a form in access db, each time when the form loads the table which is linked to sharepoint list should refresh automatically.

Is there ant way to do this in vba code?
I'm using

 Application.DoCmd.TransferSharePointList acLinkSharePointList
有帮助吗?

解决方案

Use CurrentDb.TableDefs("TableName").RefreshLink (replace TableName with your actual table name).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top