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
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