Call procedure with commandbutton in webpage

Call procedure with commandbutton in webpage

am 25.01.2008 09:57:06 von Susan

Hi,

I'm using Accrss 2003. I try to build a GUI using the Webpage-option in
Access. Now I want to call a procedure by placing a CommandButton on the
webpage. Doing so I find the following in thr Microsoft Script Editor



What do I have to adjust in the webpage-code to call the following:

Public Function BTV()
MsgBox "Here I am!"
' and lines and lines of code will follow ...
End Function


Hope anyona can help.

Thanks,

susan

Re: Call procedure with commandbutton in webpage

am 28.01.2008 22:05:41 von Dominic Vella

Wow, i didn't know 2003 had a webpage editor. I wish I could make money
from programming in VBA, then I could afford to upgrade.
This really is the wrong place for this kind of query, you'd probably
benefit more from any vbscipt newsgroup.

In any case off the top of my head, this should work, however I give no
guarantees on this as I'm more into ASP development and I think they're
similar.
--------------------------------------------------------

--------------------------------------------------------

I hope this leads you in the right direction.


Dominic

"susan" wrote in message
news:64c2a$4799a45c$524b37b6$16773@cache6.tilbu1.nb.home.nl. ..
> Hi,
>
> I'm using Accrss 2003. I try to build a GUI using the Webpage-option in
> Access. Now I want to call a procedure by placing a CommandButton on the
> webpage. Doing so I find the following in thr Microsoft Script Editor
>
>
>
> What do I have to adjust in the webpage-code to call the following:
>
> Public Function BTV()
> MsgBox "Here I am!"
> ' and lines and lines of code will follow ...
> End Function
>
>
> Hope anyona can help.
>
> Thanks,
>
> susan
>