Home > Archive > MS Access and Internet > November 2005 > Customise a button via Data Access Page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Customise a button via Data Access Page
Graham

2005-11-16, 7:25 am

I have got a submit button on my page (driven by Access 2002) which executes
a 'Save Record' function. What I would like to do is to have the button Save
the record and then change the page to another one saying something like
'thanks you form has been submitted'.

Can anyone please let me know how to do this.


Sylvain Lafontaine

2005-11-16, 11:24 am

Make your own save button; first:

MSODSC.CurrentSection.DataPage.Save

and then change the location of the current window:

window.location.href = "a new url here"

For more info:
http://msdn.microsoft.com/library/d.../programdap.asp

http://msdn.microsoft.com/library/d...acc10_DSCOM.asp

The section about making a Debugging Tracing Window in the first article is
particularly usefull when working with DAP.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF


"Graham" <someone@microsoft.com> wrote in message
news:uNL7fNp6FHA.2816@tk2msftngp13.phx.gbl...
>I have got a submit button on my page (driven by Access 2002) which
>executes a 'Save Record' function. What I would like to do is to have the
>button Save the record and then change the page to another one saying
>something like 'thanks you form has been submitted'.
>
> Can anyone please let me know how to do this.
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com