If macro is not possible what do I need to put before and after my Visual
Basic code that would go within the HTML code? When I try to paste my VB
code I get error messages; I think because of the [/script] commands that are
already there.
Any help would be appreciated.
Ken Snell
<MS ACCESS MVP>
"Emily T" <Emily T...@discussions.microsoft.com> wrote in message
news:C8BAA309-A186-472C...@microsoft.com...
What do I need to type, or delete, so that the VB code is accepted? For
example do I need to preface my vb code for the macros with something so the
page knowes its Visual Basic?
Thanks!
However, the syntax that identifies a VBScript procedure is different. The
procedure goes in the Body of the code behind the page.
(1) The first lines of a procedure for the Click event of a button
are this:
<SCRIPT language=vbscript event=onclick for=btnCancel>
<!--
In the above, btnCancel is the name of the button so replace that with the
real name of your command button.
(2) The last lines of a procedure are these:
-->
</SCRIPT>
The script steps go between these "first" and "last" lines.
--
Ken Snell
<MS ACCESS MVP>
"Emily T" <Emi...@discussions.microsoft.com> wrote in message
news:3FAA6D55-F91B-4AA2...@microsoft.com...