ibda12u
10-21-2004, 04:48 PM
Hello,
I'm passing info (post) from a form to an asp script, but I keep getting the error Unterminated string constant. The error points to the .FirstName=" portion.
This is the asp script. The Form is a simple form, that posts the form names to this page below
<%
FirstName=Request.Form("FirstName")
LastName=Request.Form("LastName")
%>
<!--#include file="class_net.asp"-->
<%
Set objSU=new commNet
with objSU
.FirstName="<%=Response.Write(FirstName)%>"
.LastName="<%=Response.Write(LastName)%>"
.HomeDir="F:\home\test\"
.EnableDiskQuota=1
.DiskQuota=10
.Expire=dateValue("31/12/2005")
.Access1="F:\home\|RWAMLCDP"
response.write .createUser
end with
set objSU=nothing
Can anyone tell me what I'm doing wrong?
I'm passing info (post) from a form to an asp script, but I keep getting the error Unterminated string constant. The error points to the .FirstName=" portion.
This is the asp script. The Form is a simple form, that posts the form names to this page below
<%
FirstName=Request.Form("FirstName")
LastName=Request.Form("LastName")
%>
<!--#include file="class_net.asp"-->
<%
Set objSU=new commNet
with objSU
.FirstName="<%=Response.Write(FirstName)%>"
.LastName="<%=Response.Write(LastName)%>"
.HomeDir="F:\home\test\"
.EnableDiskQuota=1
.DiskQuota=10
.Expire=dateValue("31/12/2005")
.Access1="F:\home\|RWAMLCDP"
response.write .createUser
end with
set objSU=nothing
Can anyone tell me what I'm doing wrong?
