Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Display Invoice Page after Insert Record

New Here ,
Jun 14, 2006 Jun 14, 2006
I am new at this - so my aplogies - I am using Dreamweaver, ASP and Access - I am doing a form registration page and upon submit, the submitter is sent to a invoice page which contains some of the data they just submitted. How do I cherry pick the record that was just created on the previous registration page in order to show some of it on the invoice page? I assume I will have to create a variable from the value of one of the form fields on the registration page, then use that to call the correct record on the invoice page, but I have no idea how to do it in Dreamweaver, or the syntax if I need to code it by hand. Any help would be greatly appreciated. I have been stuck on this for over a day.
TOPICS
Server side applications
247
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 14, 2006 Jun 14, 2006
As part of the insert action define something from the form that is likely
to be unique such as emailaddress, and assign it to a session variable like
this

<%
session("svemail")=request.form("emailfield")
%>

Then on your invocie page simply filter the records by the session variable,
and select the order to be in DESC order.

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

Valleybiz Internet Design
www.valleybiz.net

"BAPWEB" <webforumsuser@macromedia.com> wrote in message
news:e6p2q5$lj6$1@forums.macromedia.com...
>I am new at this - so my aplogies - I am using Dreamweaver, ASP and
>Access - I
> am doing a form registration page and upon submit, the submitter is sent
> to a
> invoice page which contains some of the data they just submitted. How do
> I
> cherry pick the record that was just created on the previous registration
> page
> in order to show some of it on the invoice page? I assume I will have to
> create a variable from the value of one of the form fields on the
> registration
> page, then use that to call the correct record on the invoice page, but I
> have
> no idea how to do it in Dreamweaver, or the syntax if I need to code it by
> hand. Any help would be greatly appreciated. I have been stuck on this
> for
> over a day.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 15, 2006 Jun 15, 2006
LATEST
Thx Paul - I will give this a try - right now I figured out how to just show the last record inserted on the new page - but want to be more precise - thx for your help
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines