Email Data Access Page

J

JNariss

Hello,

I am trying to create a button on my Data Access Page which will simply
email the page to the specified person. I added a command button on my
DAP and then went into the Microsoft Script Editor and choose my newly
created button and "onclick". I added in this following code:

<BUTTON id=SendEmail style="Z-INDEX: 22; LEFT: 2in; WIDTH: 1in;
POSITION: absolute; TOP: 9.916in; HEIGHT: 0.25in"
tabIndex=36 MsoTextAlign="General">SendEmail
<SCRIPT language=vbscript event=onclick for=SendEmail>
<!--
DoCmd.SendObject acSendDataAccessPage,SRCRequest.htm,
acFormatRichTextFormat, "(e-mail address removed)",,,"System Change
Request",,
-->
</SCRIPT>
</BUTTON>

However, each time I test the page it does not work. I would like this
button to update the datebase and send an email to the indicated
person.

Any help would be great.

Thanks,
Justine
 
B

benson

my goodness. webpage 's code is different from vb's code of access .so i
advise to ask someone knowing asp or jsp for help
 

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