Macro on Data Access Page

J

Jim Moore

I added a control button to my data access page. I would
like this control to kick off a macro. I am having trouble
coming up with the vbscript to make it work. This is what
I have tried (and some variations):

<script language=vbscript for Command0 event=onclick>
<!--
DoCmd.RunMacro "Macro1"
-->
</script>

Any suggestions on the vbscript would be appreciated.

thanks..Jim
 

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