Hi,
I have created an access vba function which I now want the ability to call from a SharePoint page via JavaScript. Here's what I have thus far:
function test() {
var App = new ActiveXObject("Access.Application")
App.Visible = true;
App.OpenCurrentDatabase("fullPath");
App.Run("Module1!test")
}
The Module's name is Module1 and the function is called test. It appears that everything works OK until line:
Then the problem occurs in the next line:
App.OpenCurrentDatabase("fullPath");
Has someone tackled this before? Thank you!
BTW, I'm calling the function from a SharePoint page as follows:
<div>
<form>
<input type="button" value="Click me!" onclick="test()" />
</form>
</div>