Solved

Accessing Data Submitted by Form

Posted on 2007-03-23
3
173 Views
Last Modified: 2010-04-30
After submitting a form that is writing to a database and sending an email, how do I program the form to generate some type of link that when accessed will retrieve the data entered and allow the viewer to enter more information and resubmit the form thereby sending another email.  This process could happen multiple times.  
0
Comment
Question by:contesa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Dany Balian
ID: 18919131
are u talking about web (asp/vbscript) or vb6?
0
 

Author Comment

by:contesa
ID: 18919170
ASP/VBScript using an Access database...

I know how to write to the database and generate an email when clicking submit.  But the problem I'm facing is that the recipients of the email need the opportunity to input information, which needs to also be written to the database and another email needs to be generated.  It's an ongoing process.  

I need to continually write to the same record in the database and ensure that an email is generated everytime the record is updated.
0
 
LVL 11

Accepted Solution

by:
Dany Balian earned 500 total points
ID: 18919359
well the way you would do it, is u post to the same page all over again... here's a short example:

page.asp:
<%
dim t1
t1=request.form("t1")
if request.form("sending")="true" then%>
'send the email here... and update the database
'then below, load the form (but filled with the posted data) if any!
end if
%>
<html><head></head><body>
<form action="page.asp" method="post">
<input type="hidden" name="sending" value="true">
<input type="text" name="t1" value="<%=t1%>">
<input type="submit" value="Save">
</body></html>

something like this, if u need further clarifications, let me know!!

cheers, dan
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question