msgbox works on one DAP, but not another.

dbanker

New member
Local time
Today, 09:37
Joined
Jul 12, 2005
Messages
8
Hi, I'm a little confused here. I'm using the following on one DAP and it works just fine. When I add it to another page, it does not work. Any ideas?

<SCRIPT language=vbscript event=onclick for=Save>
MSODSC.CurrentSection.DataPage.Save()
msgbox "Record Saved - you may continue to edit or exit your browser.",64,"Saved"
</SCRIPT>

Thanks...Doug
 
I never use DAP or haven't got into it yet.. but if there is anything i know about access is that it's Random :) The DAP could be corrupted, did you try rebuilding it on a new one? Like i said, i never use DAP and don't know how hard that would before you to do. I just know some vba code won't work on a button on a form, if i rebuild it on a new form it will..

Good luck
 

Users who are viewing this thread

Back
Top Bottom