Here is a snipet of my code

<title>Hourly Salary</title>
<meta NAME="GENERATOR" CONTENT="Microsoft FrontPage 3.0">
</head>

<body BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#800080" 
TEXT="#000000">
<%
store=Request.Form("Store")
HireDate=Request.Form("Hiredate")
LastName=Request.Form("LastName")
FirstName=Request.Form("FirstName")
MiddleInitial=Request.Form("MiddleInitial")
AddressLine1=Request.Form("AddressLine1")
AddressLine2=Request.Form("AddressLine2")
City=Request.Form("City")
Stat= Request.Form("State")
ZipCode=Request.Form("ZipCode")
HomePhone=Request.Form("HomePhone")
DateofBirth=Request.Form("DateofBirth")
Sex=Request.Form("Sex")
MaritalStatus=Request.Form("MaritalStatus")
Status=Request.Form("Status")
Ethnic=Request.Form("Ethnic")
W4=Request.Form("W4")
TotalAllowances=Request.Form("TotalAllowances")
AdditionalAmount=Request.Form("AdditionalAmount")
Loyalty=Request.Form("Loyalty")
%>

<form ACTION="HSalary.asp" METHOD="POST" name="FrontPage_Form1">
  <input type="hidden" name="EmpId" value="<% Response.Write EmpId %
>">
  <input type="hidden" name="Save1" value="<% Response.Write 
LoginSSN %>">
  <input type="hidden" name="HirePosition" value="<% Response.Write 
HirePosition %>">
  <input type="hidden" name="Paygr" value="<% Response.Write PaySave 
%>">
  <input type="hidden" name="Store" value="<%=Store %>">
  <input type="hidden" name="LastName" value="<%Response.Write 
LastName %>">
  <input type="hidden" name="FirstName" value="<%Response.Write 
FirstName %>">
  <input type="hidden" name="HireDate" value="<%=HireDate%>">
  <input type="hidden" name="MiddleInitial" value="<%=MiddleInitial%
>">
  <input type="hidden" name="AddressLine1" value="<%=AddressLine1%>">
  <input type="hidden" name="AddressLine2" value="<%=AddressLine2%>">
  <input type="hidden" name="City" value="<%=City%>">
  <input type="hidden" name="State" value="<%=State%>">
  <input type="hidden" name="ZipCode" value="<%=ZipCode%>">
  <input type="hidden" name="HomePhone" value="<%=HomePhone%>">
  <input type="hidden" name="DateofBirth" value="<%=DateofBirth%>">
  <input type="hidden" name="Sex" value="<%=Sex%>">
  <input type="hidden" name="MaritalStatus" value="<%=MaritalStatus%
>">
  <input type="hidden" name="Status" value="<%=Status%>">
  <input type="hidden" name="Ethnic" value="<%=Ethnic%>">
  <input type="hidden" name="TotalAllowances" value="<%
=TotalAllowances%>">
  <input type="hidden" name="AdditionalAmount" value="<%
=AdditionalAmount%>">
  <input type="hidden" name="Loyalty" value="<%=Loyalty%>">
  
 This page should display the values of LastName, FirstName and 
MiddleInitial but it doesn't.  I lost at why!


--- In [email protected], christopher andrada 
<[EMAIL PROTECTED]> wrote:
> "save this as a.asp"
> <form action="process.asp" method="post">
> first name, last name ("User input should be here")
> </form>
> 
> the process.asp file should look like this...
> 
> fname = request.form("objName")
> lname = request.form("objName")
> 
> make sure you replace single quote in fname and lname
> before saving to db.  otherwise, db will reject.
> 
> i hope this help.
> 
> --- klrclark <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Yes this is in ASP not .net but I am editing in .net
> > 
> > The application was originally designed in front
> > page.  Thanks for 
> > the help
> > 
> > --- In [email protected],
> > Charles Carroll 
> > <[EMAIL PROTECTED]> wrote:
> > > Looking at your email address I assued you wanted
> > it in Classic but
> > > since you are asking here
> > > http://www.learnasp.com/freebook/learn/panels.aspx
> > > is the equivalent example in ASP.net 
> > > 
> > > 
> > > On Wed, 12 Jan 2005 06:58:47 +0900, Charles
> > Carroll
> > > <[EMAIL PROTECTED]> wrote:
> > > > http://www.learnasp.com/learn/hidden.asp
> > > > shows 1 way
> > > > 
> > > > http://www.learnasp.com/learn/cookies.asp
> > > > shows another
> > > > 
> > > > http://www.learnasp.com/learn/statesessions.asp
> > > > shows a 3rd way.
> > > > 
> > > > These are easy examples and are identical except
> > the way they 
> > pass the data.
> > > > 
> > > > 
> > > > On Tue, 11 Jan 2005 21:12:10 -0000, klrclark
> > <[EMAIL PROTECTED]> 
> > wrote:
> > > > >
> > > > >  I have a page that the user enters
> > information about an 
> > employee
> > > > >
> > > > >  Last Name
> > > > >  First Name, etc.
> > > > >
> > > > >  I want to pass these values to the next page
> > where the user 
> > enters
> > > > >  pay grade, salary, etc.
> > > > >
> > > > >  I then want to write the record to the
> > database.  I don't 
> > know how
> > > > >  to do this?
> > > > >
> > > > >
> > > > >  thanks
> > > > >  Karen
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >  ________________________________
> > > > >  Yahoo! Groups Links
> > > > >
> > > > > To visit your group on the web, go to:
> > > > >
> > http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
> > > > >
> > > > > To unsubscribe from this group, send an email
> > to:
> > > > >
> > [EMAIL PROTECTED]
> > > > >
> > > > > Your use of Yahoo! Groups is subject to the
> > Yahoo! Terms of 
> > Service.
> > > >
> > 
> > 
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to