Solved

Accessing Data Submitted by Form

Posted on 2007-03-23
3
171 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
  • 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

830 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