Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBScript & Access procedures

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,857
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBScript & Access procedures
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 VBScript & Access procedures - 6/16/2003 3:30:45 PM   
  mhjb

 

Posts: 1
Score: 0
Joined: 6/16/2003
From: New Zealand
Status: offline
Hi there

On a page on my client's intranet i've made a button called MSAccess, and an onclick procedure for it:

Sub MSAccess_onclick()

Set acApp = CreateObject("Access.Application")

With acApp
.OpenCurrentDatabase "f:\Database.mdb"
.Visible = TRUE
.Run("webGotoItem(""ItemOne"")")
End With

End Sub


That opens the database correctly, but then Internet Explorer gives me an error message:

Error: Microsoft Access can't find the procedure 'webGotoItem("ItemOne").'

webGotoItem is a Public function in a module called Miscellaneous in the database.

If you've got any ideas on how to make this work i'd be very grateful.

-Matt
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> VBScript & Access procedures Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts