-----Original Message-----
I have created a simple form in Frontpage with the
default buttons 'Submit' and 'Reset'. Clicking
on 'Submit' will submit to an Access Database and then
take the user to the basic confirmation page. I would
like to add another button 'Copy' which would submit the
data to the database as normal, but then open up the form
again with the next record number. Is there an easy way
to do this?
Not really. However, the visitor can just click the Back
button and return to the input form.
I suppose you could create a custom confirmation page, and
code the body tag
<body onload="history.back()">
This programatically clicks the Back button as soon as the
page appears. But then, the visitor never receives
confirmation that the Web server sucessfully processed the
form.
If you want the kind of page where the confirmation
message appears on the input form, you'd have to program
it yourself in ASP or ASP.NET.
For more information on these topics, browse:
Customizing Form Confirmation Pages
http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=41
and
Saving Form Data in a Database
http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=44
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------