Solved

Accessing Data Submitted by Form

Posted on 2007-03-23
3
172 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

732 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