Help Desk

H

Help Desk

I use FP 2003 to create a form for a simple work order
request. The fields are simple: component name (text), e-
mail address (text), and a memo field to describe the
work requested. This form writes to an Access database.

The table in the database generates a random ID number
for the record. I use this ID number to track the work I
do to complete the request.

I do not want to create a database application to
distribute. Using the web to collect the work requests
is a priority at this point.

One problem with this system is that the tracking ID # is
not available to write to the confirmation page, or at
least I do not know how to make it available. Ideally, I
would like the employee to be able to have the ID # when
he submits the work request so he can use it to query the
database to see what work has been done.

Another limitation (at least as far as I have it set up)
is that once the work request is completed, the only way
I know to notify the employee is to send the tracking ID
# to him manually and have him submit it into a query so
he can read the notes about the job. I would like to
have this automated so I do not need to manually e-mail
each employee after a job is done.

A third issue, which I do not think is solvable by using
a web form, is that there is not security check of the
data submitted in the component and e-mail fields. If I
submitted the information manually in Access via a form,
if I entered an e-mail address or a component name that
is not in certain tables, the record would not be
written. Via the web, anything can be entered into those
fields (and sometimes is). There aren't that many
entries that I can't manually correct them, but it would
be nice to have this available. There are upwards of
1000 component names and 100 e-mail addresses with plenty
of changes on a regualr basis to make including these in
the FP form unrealistic.

Perhaps there is a trouble ticket application already
created that I can use/modify. I know there are some for
some content management systems I have seen. Perhaps
there are some modifications I can make to my system to
boost its effectiveness. If you can offer any help, I
would truly be appreciative.
 
C

clintonG

Your first issue is well documented at MSDN and many websites.
Google: "last inserted record"+"asp"

Your second issue is dependent on your ability to master the
first issue as once you get the value of the last inserted record
you can automate e-mailing the value and any instructions to
whomever whenever.

Your third issue is called 'client-side form validation'
Google: "client-side form validation" but it sounds as if you may
also need to validate form entries with data that resides
in the database in which case you will validate the client-side
data to ensure that which is submitted is well formed (the format of the
data being submitted is a well formed e-mail address, part number and
so on) and if well formed the form submit proceeds and the submitted
data is then validated again on the server against the actual data
in the database.


--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
H

Help Desk

-----Original Message-----
Your first issue is well documented at MSDN and many websites.
Google: "last inserted record"+"asp"


First off, thank you very much. I have been reading
several sites regarding this issue. One thing which has
become very clear to me is that I do not know what I am
doing in this matter. :)

I have used the forms in FP and the confirmation page
without truly knowing how this information is passed from
the browser to the database. Thus, when I read the
information about @@Identity, I do not know what to do
with it. I can set up fields to pass, I can retrieve
those fields. Both are done easily in FP. What to do
with @@Identity and how to retrieve it is unknown to me.
I am not particularly technically-inclined with SQL
statements. Some hand holding in this would be greatly
appreciated.
 
C

clintonG

Check out the ASP FAQ [1]. I don't know what I'll
be able to do with hands-on -- if anything -- until I understand
what you need to do. I don't use FrontPage for anything but
HTML and I haven't been doing much ASP lately but I'll hang
in here and try to help you find a solution.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://www.aspfaq.com/
 
T

Thomas A. Rowe

FYI: When you used the FP method of adding records to a database or a regular HTML Form to sent data
to file or email, the confirmation page is display after the data has been processed.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
C

clintonG

Meaning what in the context of reusing the value of the last
inserted record? Meaning the Help Desk has to abandon
the use of FrontPage to add the records to the database because
the confirmation is not separable from the process of inserting
the records into the database?


--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
T

Thomas A. Rowe

That FP stored the values in memory that were submitted on the form, and then display that info on
the confirmation page. In order to see exactly what was entered in the database, the confirmation
page would have to query the database for the last added record, and then display that info the
confirmation page.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
C

clintonG

Right -- but OOTB FrontPage apparently does not provide that
functionality in a manner that allows the value of the last inserted
record to be returned with the confirmation.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
T

Thomas A. Rowe

Correct.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top