Skip to main content
Participating Frequently
May 1, 2006
Question

pass data to another form AND database?

  • May 1, 2006
  • 1 reply
  • 407 views
Using ASP-VBscript I can easily pass form data to a database and I can pass it to another form. How do I pass it to BOTH when Submit is clicked?

Thanks.
This topic has been closed for replies.

1 reply

Inspiring
May 1, 2006
You do it exactly the same way as the separate items, you just need to
combine the operation.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"TomHuffman" <webforumsuser@macromedia.com> wrote in message
news:e35opv$neh$1@forums.macromedia.com...
> Using ASP-VBscript I can easily pass form data to a database and I can
> pass it to another form. How do I pass it to BOTH when Submit is clicked?
>
> Thanks.


Inspiring
May 2, 2006
I would need for you to be specific in what you are trying to achieve.

Are you passing form values which you want to insert into a database, and
then have them appear on another form.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"TomHuffman" <webforumsuser@macromedia.com> wrote in message
news:e36b5o$fbc$1@forums.macromedia.com...
> OK, could you be a little moe specific. . . .


Inspiring
May 3, 2006
There are two ways to do this

1) Either you could write all the form values into Session variables as
part of the insert routine, and then bring these to the redirect page. or
2) On the redirect page create a recordset that grabs the newly created
record ID and then filter the table by that and use a standard recordset.
This link may help you http://www.kamath.com/tutorials/tut007_identity.asp

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"TomHuffman" <webforumsuser@macromedia.com> wrote in message
news:e36p58$14d$1@forums.macromedia.com...
> Precisely. I have a form using DW's Insert Record function. Upon Submit, I
> want users to be redirected to a page that displays all the information
> they just inserted into the database.