Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing SessionID to Table Fields

Status
Not open for further replies.

ggrewe

IS-IT--Management
Jul 10, 2001
169
US
I am trying to assigned the SessionID to a variable and then insert that value into an Access table via a hidden form on the form. I am also trying to display the value on a confirmation page. I am having no luck with either. I am using Front Page and could use some help.

This is my basic code:

<%@ Language=VBScript %>
<%
dim confirm
confirm=Session.SessionID
%>

<input type=&quot;hidden&quot; name=&quot;ConfirmNumber&quot; value=&Confirm&>

 
You need :

<%@ Language=VBScript %>
<%
dim confirm
confirm=Session.SessionID
%>

<input type=&quot;hidden&quot; name=&quot;ConfirmNumber&quot; value=&quot;<% =confirm %>&quot;> Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
try

<input type=&quot;hidden&quot; name=&quot;ConfirmNumber&quot; value=&quot;&Confirm&&quot;>

have you done a
response.write (Session.SessionID)
and
response.write (confirm)

to ensure the variable took the value?

 
oops! davidbyng's right! i was sleeping..... or thinking of turkey, who knows....
 
except move the space from before to after the = sign.

&quot;<%= confirm %>&quot;
 
Dave;

That did it, I can see the value. Now will the confirmation page display the value if I use

Confirmation Number = <<confirm>>

Thanks and Happy T-Day
 
Conformation Number = <%= confirm %> Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Thanks for all your help. I guess I need to take a class. Take care,

Greg
 
Dave;

When trying to display the appropriate confirmation page for form, I am using the following code;

U-Confirmation-Url=&quot;confirmationreg.asp?ConfirmationNumber=<% =confirm %>&quot;

It returns the following error;

Response.Redirect &quot;confirmationreg.asp?ConfirmationNumber=<% =confirm
---------------------------------------------------------------------^

Any ideas?

Thanks.
 
in this case, your syntax will be:

U-Confirmation-Url=&quot;confirmationreg.asp?ConfirmationNumber=&quot; & confirm

When you are within the script tags:

<%

and you have a string defined as above, then you start and end your string with double quotes (&quot;), and concantenate strings and variables with &

%>

When you are outside of the <% %> tags, in straight HTML, as you were in your form field example above, then you need to use <%= %> to access variable values. The <%= %> actually replaces &quot;Response.Write&quot;

make more sense now?
 
Thanks lobstah, this makes perfect sense now. I changed my code and the works now works, however when the confirmation page is displayed, I recieve the error that no parameter value was passed;

Database Results Error
Description: [Microsoft][ODBC Microsoft Access Driver] Extra ) in query expression '(ConfirmationNumber = )'.
Number: -2147217900 (0x80040E14)
Source: Microsoft OLE DB Provider for ODBC Drivers

One or more form fields were empty. You should provide default values for all form fields that are used in the query.

The link comes up without the value as well;


So I must have something wrong somewhere, although the value is being written into the db.
 
Post all the code for the page then the error can be identified. Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Okay, but it is a big one. Thanks in advance.

Greg


<%
dim confirm
confirm=Session.SessionID
%>
<%
' FP_ASP ASP Automatically generated by a Frontpage Component. Do not Edit.
On Error Resume Next

strErrorUrl = &quot;&quot;

If Request.ServerVariables(&quot;REQUEST_METHOD&quot;) = &quot;POST&quot; Then
If Request.Form(&quot;VTI-GROUP&quot;) = &quot;0&quot; Then
Err.Clear

Set fp_conn = Server.CreateObject(&quot;ADODB.Connection&quot;)
FP_DumpError strErrorUrl, &quot;Cannot create connection&quot;

Set fp_rs = Server.CreateObject(&quot;ADODB.Recordset&quot;)
FP_DumpError strErrorUrl, &quot;Cannot create record set&quot;

fp_conn.Open Application(&quot;Convention_ConnectionString&quot;)
FP_DumpError strErrorUrl, &quot;Cannot open database&quot;

fp_rs.Open &quot;Convention&quot;, fp_conn, 1, 3, 2 ' adOpenKeySet, adLockOptimistic, adCmdTable
FP_DumpError strErrorUrl, &quot;Cannot open record set&quot;

fp_rs.AddNew
FP_DumpError strErrorUrl, &quot;Cannot add new record set to the database&quot;
Dim arFormFields0(71)
Dim arFormDBFields0(71)

arFormFields0(0) = &quot;AssocBreakfastAmount&quot;
arFormDBFields0(0) = &quot;AssocBreakfastAmount&quot;
arFormFields0(1) = &quot;StudentMember&quot;
arFormDBFields0(1) = &quot;StudentMember&quot;
arFormFields0(2) = &quot;Telephone&quot;
arFormDBFields0(2) = &quot;Telephone&quot;
arFormFields0(3) = &quot;FromTopAmount&quot;
arFormDBFields0(3) = &quot;FromTopAmount&quot;
arFormFields0(4) = &quot;AmericanExpress&quot;
arFormDBFields0(4) = &quot;AmericanExpress&quot;
arFormFields0(5) = &quot;Visa&quot;
arFormDBFields0(5) = &quot;Visa&quot;
arFormFields0(6) = &quot;MTNAGala&quot;
arFormDBFields0(6) = &quot;MTNAGala&quot;
arFormFields0(7) = &quot;Pedagogy&quot;
arFormDBFields0(7) = &quot;Pedagogy&quot;
arFormFields0(8) = &quot;StudentMemberAmount&quot;
arFormDBFields0(8) = &quot;StudentMemberAmount&quot;
arFormFields0(9) = &quot;Address1&quot;
arFormDBFields0(9) = &quot;Address1&quot;
arFormFields0(10) = &quot;MTNAMastercard&quot;
arFormDBFields0(10) = &quot;MTNAMasterCard&quot;
arFormFields0(11) = &quot;PedagogyStudent&quot;
arFormDBFields0(11) = &quot;PedagogyStudent&quot;
arFormFields0(12) = &quot;SymposiumQTY&quot;
arFormDBFields0(12) = &quot;SymposiumQTY&quot;
arFormFields0(13) = &quot;SpecialInvitationAmount&quot;
arFormDBFields0(13) = &quot;SpecialInvitationAmount&quot;
arFormFields0(14) = &quot;ActiveMemberAmount&quot;
arFormDBFields0(14) = &quot;ActiveMemberAmount&quot;
arFormFields0(15) = &quot;ExpDate&quot;
arFormDBFields0(15) = &quot;ExpDate&quot;
arFormFields0(16) = &quot;CardNumber&quot;
arFormDBFields0(16) = &quot;CardNumber&quot;
arFormFields0(17) = &quot;AwardsBrunch&quot;
arFormDBFields0(17) = &quot;AwardsBrunch&quot;
arFormFields0(18) = &quot;PedagogyLunchQTY&quot;
arFormDBFields0(18) = &quot;PedagogyLunchQTY&quot;
arFormFields0(19) = &quot;ProStudioStudentQTY&quot;
arFormDBFields0(19) = &quot;ProStudioStudentQTY&quot;
arFormFields0(20) = &quot;SpecialInvitation&quot;
arFormDBFields0(20) = &quot;SpecialInvitation&quot;
arFormFields0(21) = &quot;FirstConference&quot;
arFormDBFields0(21) = &quot;FirstConference&quot;
arFormFields0(22) = &quot;SpecialNeeds&quot;
arFormDBFields0(22) = &quot;SpecialNeeds&quot;
arFormFields0(23) = &quot;ProStudioLunch&quot;
arFormDBFields0(23) = &quot;ProStudioLunch&quot;
arFormFields0(24) = &quot;NonMemberAmount&quot;
arFormDBFields0(24) = &quot;NonMemberAmount&quot;
arFormFields0(25) = &quot;PedagogyLunchAmount&quot;
arFormDBFields0(25) = &quot;PedagogyLunchAmount&quot;
arFormFields0(26) = &quot;PedagogyStudentQTY&quot;
arFormDBFields0(26) = &quot;PedagogyStudentQTY&quot;
arFormFields0(27) = &quot;ProStudioQTY&quot;
arFormDBFields0(27) = &quot;ProStudioQTY&quot;
arFormFields0(28) = &quot;ProStudio&quot;
arFormDBFields0(28) = &quot;ProStudio&quot;
arFormFields0(29) = &quot;MemberId&quot;
arFormDBFields0(29) = &quot;MemberID&quot;
arFormFields0(30) = &quot;Program&quot;
arFormDBFields0(30) = &quot;Program&quot;
arFormFields0(31) = &quot;AssocBreakfastQTY&quot;
arFormDBFields0(31) = &quot;AssocBreakfastQTY&quot;
arFormFields0(32) = &quot;SymposiumAmount&quot;
arFormDBFields0(32) = &quot;SymposiumAmount&quot;
arFormFields0(33) = &quot;email&quot;
arFormDBFields0(33) = &quot;e-mail&quot;
arFormFields0(34) = &quot;ProgramAmount&quot;
arFormDBFields0(34) = &quot;ProgramAmount&quot;
arFormFields0(35) = &quot;PedagogyLunch&quot;
arFormDBFields0(35) = &quot;PedagogyLunch&quot;
arFormFields0(36) = &quot;Mastercard&quot;
arFormDBFields0(36) = &quot;MasterCard&quot;
arFormFields0(37) = &quot;MTNAGalaAmount&quot;
arFormDBFields0(37) = &quot;MTNAGalaAmount&quot;
arFormFields0(38) = &quot;ProStudioLunchQTY&quot;
arFormDBFields0(38) = &quot;ProStudioLunchQTY&quot;
arFormFields0(39) = &quot;StudentNonMemberAmount&quot;
arFormDBFields0(39) = &quot;StudentNonMemberAmount&quot;
arFormFields0(40) = &quot;City&quot;
arFormDBFields0(40) = &quot;City&quot;
arFormFields0(41) = &quot;FromTopQTY&quot;
arFormDBFields0(41) = &quot;FromTopQTY&quot;
arFormFields0(42) = &quot;TotalFees&quot;
arFormDBFields0(42) = &quot;TotalFees&quot;
arFormFields0(43) = &quot;PedagogyStudentAmount&quot;
arFormDBFields0(43) = &quot;PedagogyStudentAmount&quot;
arFormFields0(44) = &quot;PedagogyQTY&quot;
arFormDBFields0(44) = &quot;PedagogyQTY&quot;
arFormFields0(45) = &quot;LabOnlyQTY&quot;
arFormDBFields0(45) = &quot;LabOnlyQTY&quot;
arFormFields0(46) = &quot;NewMember&quot;
arFormDBFields0(46) = &quot;NewMember&quot;
arFormFields0(47) = &quot;FirstName&quot;
arFormDBFields0(47) = &quot;FirstName&quot;
arFormFields0(48) = &quot;AwardsBrunchQTY&quot;
arFormDBFields0(48) = &quot;AwardsBrunchQTY&quot;
arFormFields0(49) = &quot;ProStudioLunchAmount&quot;
arFormDBFields0(49) = &quot;ProStudioLunchAmount&quot;
arFormFields0(50) = &quot;LabOnlyAmount&quot;
arFormDBFields0(50) = &quot;LabOnlyAmount&quot;
arFormFields0(51) = &quot;Symposium&quot;
arFormDBFields0(51) = &quot;Symposium&quot;
arFormFields0(52) = &quot;AssocBreakfast&quot;
arFormDBFields0(52) = &quot;AssocBreakfast&quot;
arFormFields0(53) = &quot;ProStudioStudentAmount&quot;
arFormDBFields0(53) = &quot;ProStudioStudentAmount&quot;
arFormFields0(54) = &quot;LabOnly&quot;
arFormDBFields0(54) = &quot;LabOnly&quot;
arFormFields0(55) = &quot;ActiveMember&quot;
arFormDBFields0(55) = &quot;ActiveMember&quot;
arFormFields0(56) = &quot;Specifics&quot;
arFormDBFields0(56) = &quot;Specifics&quot;
arFormFields0(57) = &quot;Monitordates&quot;
arFormDBFields0(57) = &quot;MonitorDates&quot;
arFormFields0(58) = &quot;ProgramQTY&quot;
arFormDBFields0(58) = &quot;ProgramQTY&quot;
arFormFields0(59) = &quot;ProStudioStudent&quot;
arFormDBFields0(59) = &quot;ProStudioStudent&quot;
arFormFields0(60) = &quot;ProStudioAmount&quot;
arFormDBFields0(60) = &quot;ProStudioAmount&quot;
arFormFields0(61) = &quot;StudentNonMember&quot;
arFormDBFields0(61) = &quot;StudentNonMember&quot;
arFormFields0(62) = &quot;Zipcode&quot;
arFormDBFields0(62) = &quot;ZipCode&quot;
arFormFields0(63) = &quot;LastName&quot;
arFormDBFields0(63) = &quot;LastName&quot;
arFormFields0(64) = &quot;PreferedName&quot;
arFormDBFields0(64) = &quot;PreferredName&quot;
arFormFields0(65) = &quot;AwardsBrunchAmount&quot;
arFormDBFields0(65) = &quot;AwardsBrunchAmount&quot;
arFormFields0(66) = &quot;MTNAGalaQTY&quot;
arFormDBFields0(66) = &quot;MTNAGalaQTY&quot;
arFormFields0(67) = &quot;NonMember&quot;
arFormDBFields0(67) = &quot;NonMember&quot;
arFormFields0(68) = &quot;Monitor&quot;
arFormDBFields0(68) = &quot;Monitor&quot;
arFormFields0(69) = &quot;State&quot;
arFormDBFields0(69) = &quot;State&quot;
arFormFields0(70) = &quot;PedagogyAmount&quot;
arFormDBFields0(70) = &quot;PedagogyAmount&quot;

FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0


fp_rs.Update
FP_DumpError strErrorUrl, &quot;Cannot update the database&quot;

fp_rs.Close
fp_conn.Close

FP_FormConfirmation &quot;text/html; charset=windows-1252&quot;,_
&quot;Form Confirmation&quot;,_
&quot;Thank you for submitting the following information:&quot;,_
&quot;conf02reg_Grewe.asp&quot;,_
&quot;Return to the form.&quot;

End If
End If

%>
<html>

<head>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=windows-1252&quot;>
<meta name=&quot;GENERATOR&quot; content=&quot;Microsoft FrontPage 4.0&quot;>
<meta name=&quot;ProgId&quot; content=&quot;FrontPage.Editor.Document&quot;>
<title>MTNA Online Registration Form</title>
</head>

<body bgcolor=&quot;white&quot; onload=&quot;alert('This is a secure site for online registration. Only one registrant per form is permitted. Please use the TAB key to navigate through the form. You must update totals before submitting the form and after making any changes. Upon submitting the form, please print the confirmation page for your records.')&quot;>
<form method=&quot;POST&quot; action=&quot;--WEBBOT-SELF--&quot; onsubmit=&quot;return FrontPage_Form1_Validator(this)&quot; name=&quot;FrontPage_Form1&quot;>
<!--webbot bot=&quot;SaveDatabase&quot; SuggestedExt=&quot;asp&quot;
U-ASP-Include-Url=&quot;../_fpclass/fpdbform.inc&quot; S-DataConnection=&quot;Convention&quot;
S-RecordSource=&quot;Convention&quot; U-Database-URL=&quot;../fpdb/Convention.mdb&quot;
U-Confirmation-Url=&quot;confirmationreg.asp?ConfirmationNumber=&quot; & confirm
S-Form-Fields=&quot;AssocBreakfastAmount StudentMember Telephone FromTopAmount AmericanExpress Visa Pedagogy StudentMemberAmount Address1 MTNAMastercard PedagogyStudent SpecialInvitationAmount ActiveMemberAmount ExpDate CardNumber PedagogyLunchQTY SpecialInvitation FirstConference SpecialNeeds ConfirmNumber NonMemberAmount PedagogyLunchAmount ProStudio MemberId AssocBreakfastQTY SymposiumAmount email ProgramAmount Mastercard MTNAGalaAmount ProStudioLunchQTY StudentNonMemberAmount City FromTopQTY TotalFees PedagogyStudentAmount NewMember FirstName AwardsBrunchQTY ProStudioLunchAmount LabOnlyAmount Symposium ProStudioStudentAmount LabOnly ActiveMember Specifics Monitordates ProgramQTY ProStudioStudent ProStudioAmount StudentNonMember Zipcode LastName PreferedName AwardsBrunchAmount MTNAGalaQTY NonMember Monitor State PedagogyAmount&quot;
S-Form-DBFields=&quot;AssocBreakfastAmount StudentMember Telephone FromTopAmount AmericanExpress Visa Pedagogy StudentMemberAmount Address1 MTNAMasterCard PedagogyStudent SpecialInvitationAmount ActiveMemberAmount ExpDate CardNumber PedagogyLunchQTY SpecialInvitation FirstConference SpecialNeeds ConfirmationNumber NonMemberAmount PedagogyLunchAmount ProStudio MemberID AssocBreakfastQTY SymposiumAmount e-mail ProgramAmount MasterCard MTNAGalaAmount ProStudioLunchQTY StudentNonMemberAmount City FromTopQTY TotalFees PedagogyStudentAmount NewMember FirstName AwardsBrunchQTY ProStudioLunchAmount LabOnlyAmount Symposium ProStudioStudentAmount LabOnly ActiveMember Specifics MonitorDates ProgramQTY ProStudioStudent ProStudioAmount StudentNonMember ZipCode LastName PreferredName AwardsBrunchAmount MTNAGalaQTY NonMember Monitor State PedagogyAmount&quot;
-->
<input type=&quot;hidden&quot; name=&quot;ConfirmNumber&quot; value=&quot;<% =confirm %>&quot;>
<div align=&quot;center&quot;>
<center>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;100%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;><font size=&quot;4&quot; face=&quot;Times New Roman&quot;><b>MTNA
National Conference</b></font></td>
</tr>
<tr>
<td width=&quot;100%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;><font face=&quot;Times New Roman&quot; size=&quot;3&quot;><b>Cincinnati,
Ohio&nbsp;&nbsp;&nbsp;&nbsp; March 16-20, 2002</b></font></td>
</tr>
</center>
<tr>
<td width=&quot;100%&quot; align=&quot;center&quot;>
<p align=&quot;right&quot;><a href=&quot;mailto:sgeis@mtna.org&quot;><font face=&quot;Times New Roman&quot; size=&quot;2&quot;>Need
Help?</font></a></td>
</tr>
<center>
<tr>
<td width=&quot;100%&quot; align=&quot;center&quot;><font face=&quot;Times New Roman&quot; size=&quot;3&quot;><b>
ONLINE
REGISTRATION FORM<br>
</b><i>&nbsp;Please carefully complete and submit the form below. Only one
registrant per form is permitted.<br>
Use the TAB key to navigate through the form.</i></font></td>
</tr>
</table>
</center>
</div>
<div align=&quot;center&quot;>
<center>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;50%&quot;>
<div align=&quot;left&quot;>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;250&quot;>
<tr>
<td bgcolor=&quot;#C0C0C0&quot;><font face=&quot;Times New Roman&quot; size=&quot;4&quot;><b>Registration
Information</b></font></td>
</tr>
</table>
</div>
</td>
<td width=&quot;50%&quot;>&nbsp;</td>
</tr>
<tr>
<td width=&quot;100%&quot; colspan=&quot;2&quot;>Last Name <!--webbot bot=&quot;Validation&quot;
S-Data-Type=&quot;String&quot; B-Value-Required=&quot;TRUE&quot; --> <input type=&quot;text&quot; name=&quot;LastName&quot; size=&quot;20&quot;>
First Name <!--webbot bot=&quot;Validation&quot; S-Data-Type=&quot;String&quot;
B-Value-Required=&quot;TRUE&quot; --> <input type=&quot;text&quot; name=&quot;FirstName&quot; size=&quot;20&quot;> Member
# <input type=&quot;text&quot; name=&quot;MemberId&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;50%&quot;>Address <!--webbot bot=&quot;Validation&quot;
B-Value-Required=&quot;TRUE&quot; --> <input type=&quot;text&quot; name=&quot;Address1&quot; size=&quot;30&quot;></td>
<td width=&quot;50%&quot;>&nbsp;City <!--webbot bot=&quot;Validation&quot;
S-Data-Type=&quot;String&quot; B-Value-Required=&quot;TRUE&quot; --> <input type=&quot;text&quot; name=&quot;City&quot; size=&quot;15&quot;>State
<!--webbot bot=&quot;Validation&quot; S-Data-Type=&quot;String&quot;
B-Value-Required=&quot;TRUE&quot; I-Minimum-Length=&quot;2&quot; -->
<input type=&quot;text&quot; name=&quot;State&quot; size=&quot;2&quot;>Zip <!--webbot
bot=&quot;Validation&quot; S-Data-Type=&quot;String&quot; B-Allow-Digits=&quot;TRUE&quot;
B-Value-Required=&quot;TRUE&quot; I-Minimum-Length=&quot;5&quot; --> <input type=&quot;text&quot; name=&quot;Zipcode&quot; size=&quot;5&quot;></td>
</tr>
<tr>
<td width=&quot;50%&quot;>Phone <input type=&quot;text&quot; name=&quot;Telephone&quot; size=&quot;10&quot;>E-mail&nbsp;<input type=&quot;text&quot; name=&quot;email&quot; size=&quot;20&quot;></td>
<td width=&quot;50%&quot;>Preferred name on badge <!--webbot bot=&quot;Validation&quot;
B-Value-Required=&quot;TRUE&quot; --><input type=&quot;text&quot; name=&quot;PreferedName&quot; size=&quot;20&quot;></td>
</tr>
<tr>
<td width=&quot;100%&quot; colspan=&quot;2&quot;><input type=&quot;checkbox&quot; name=&quot;FirstConference&quot; value=&quot;1&quot;>Check
here if this is your first MTNA National Conference.</td>
</tr>
<tr>
<td width=&quot;100%&quot; colspan=&quot;2&quot;><input type=&quot;checkbox&quot; name=&quot;NewMember&quot; value=&quot;1&quot;>Check
here if you are a new member.</td>
</tr>
<tr>
<td width=&quot;100%&quot; colspan=&quot;2&quot;><input type=&quot;checkbox&quot; name=&quot;Monitor&quot; value=&quot;1&quot;>Check
here if you are willing to volunteer to be a monitor. </td>
</tr>
<tr>
<td width=&quot;100%&quot; colspan=&quot;2&quot;>Please specify days available below:
<p><textarea rows=&quot;2&quot; name=&quot;Monitordates&quot; cols=&quot;30&quot;></textarea></td>
</tr>
<tr>
<td width=&quot;100%&quot; colspan=&quot;2&quot;><input type=&quot;checkbox&quot; name=&quot;SpecialNeeds&quot; value=&quot;1&quot;>Check
here if you have special needs (including special dietary needs).<br>
Please explain below:
<p><textarea rows=&quot;2&quot; name=&quot;Specifics&quot; cols=&quot;30&quot;></textarea></td>
</tr>
</table>
</center>
</div>
<div align=&quot;center&quot;>
<center>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;25%&quot; valign=&quot;top&quot;>
<div align=&quot;center&quot;>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;100%&quot; bgcolor=&quot;#C0C0C0&quot;><b><font face=&quot;Times New Roman&quot; size=&quot;4&quot;>Registration
Fees</font></b></td>
</tr>
</table>
</div>
</td>
<td width=&quot;75%&quot; valign=&quot;top&quot;><font size=&quot;3&quot; face=&quot;Times New Roman&quot;>The
special discounted registration fees listed below are valid only for
those whose registration form is submitted on or before midnight February 8,
2002. Those registering after February 8, 2002 will be subject to full
registration fees.</font></td>
</tr>
</table>
</center>
</div>
<div align=&quot;center&quot;>
<table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;64%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;>
<p align=&quot;left&quot;><font face=&quot;Times New Roman&quot; size=&quot;3&quot;><b>Conference
Registration&nbsp;</b></font><font face=&quot;Times New Roman&quot; size=&quot;2&quot;>(Check appropriate
box below.)</font></td>
<center>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;><b><font size=&quot;3&quot; face=&quot;Times New Roman&quot;>On
or before 2/8/02</font></b></td>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;><b><font size=&quot;3&quot; face=&quot;Times New Roman&quot;>After
2/8/02</font></b></td>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;><b><font size=&quot;3&quot; face=&quot;Times New Roman&quot;>Amount</font></b></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;SpecialInvitation&quot; value=&quot;1&quot; onclick=&quot;SpecialInvitationAmount.value=149.50&quot;>Special
Invitation Offer $149.50 (valid until November 30, 2001)</td>
<td width=&quot;12%&quot;>
<p align=&quot;center&quot;>&nbsp; </td>
<td width=&quot;12%&quot; align=&quot;center&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;SpecialInvitationAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;ActiveMember&quot; value=&quot;1&quot; onclick=&quot;ActiveMemberAmount.value=165&quot; >Active
Member (registration only)</td>
<td width=&quot;12%&quot;>
<p align=&quot;center&quot;>$165</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$215</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;ActiveMemberAmount&quot; onclick=&quot;TotalFees.value=165&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;StudentMember&quot; value=&quot;1&quot; onclick=&quot;StudentMemberAmount.value=50&quot;>Student
Member (registration only)</td>
<td width=&quot;12%&quot;>
<p align=&quot;center&quot;>$50</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$65</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;StudentMemberAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;NonMember&quot; value=&quot;1&quot; onclick=&quot;NonMemberAmount.value=225&quot;>Nonmember
(registration only)</td>
<td width=&quot;12%&quot;>
<p align=&quot;center&quot;>$225</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$275</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;NonMemberAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;StudentNonMember&quot; value=&quot;1&quot; onclick=&quot;StudentNonMemberAmount.value=65&quot;>Student
Nonmember (registration only) <br>
&nbsp;&nbsp;&nbsp; (Includes $12 voucher towards membership.)</td>
<td width=&quot;12%&quot;>
<p align=&quot;center&quot;>$65 </td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$75</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;StudentNonMemberAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot; bgcolor=&quot;#C0C0C0&quot;><font size=&quot;3&quot; face=&quot;Times New Roman&quot;><b>Pre-Conference
Workshops </b></font><font face=&quot;Times New Roman&quot; size=&quot;2&quot;>(Check appropriate boxes
below.)</font></td>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;><b><font size=&quot;3&quot; face=&quot;Times New Roman&quot;>Fee</font></b></td>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;><b><font size=&quot;3&quot; face=&quot;Times New Roman&quot;>Quantity</font></b></td>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;><b><font size=&quot;3&quot; face=&quot;Times New Roman&quot;>Amount</font></b></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;Symposium&quot; value=&quot;1&quot; onclick =&quot;SymposiumAmount.value=75&quot;>Technology in Music Symposium; Fri., March
15-<br>
Tue.,
March 19 (<i>Includes all technology sessions and lab.)</i></td>
<td width=&quot;12%&quot;>
<p align=&quot;center&quot;>$75</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>
<p align=&quot;center&quot;>N/A
</td>
<td width=&quot; align=&quot; 12%&quot; center&quot;>
<p align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;SymposiumAmount&quot; size=&quot;8&quot;></p>
</td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;LabOnly&quot; value=&quot;1&quot; onclick =&quot;LabOnlyAmount.value=40&quot;>Technology Lab
Only; Sun., March 17-Tue., March 19</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$40</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>N/A</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;LabOnlyAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;ProStudio&quot; value=&quot;1&quot; onclick =&quot;ProStudioAmount.value=35&quot;>Professional Studio Saturday; Sat., March 16</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$35</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>N/A</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;ProStudioAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;ProStudioStudent&quot; value=&quot;1&quot; onclick=&quot;ProStudioStudentAmount.value=25&quot;>Professional Studio Saturday <i><b>Student</b>;</i>
Sat., March 16</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$25</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>N/A</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;ProStudioStudentAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;Pedagogy&quot; value=&quot;1&quot; onclick =&quot;PedagogyAmount.value=35&quot;>Pedagogy Saturday; Sat., March 16</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$35</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>N/A</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;PedagogyAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;><input type=&quot;checkbox&quot; name=&quot;PedagogyStudent&quot; value=&quot;1&quot; onclick =&quot;PedagogyStudentAmount.value=25&quot;>Pedagogy Saturday <b><i>Student;</i></b> Sat., March
16</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$25</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>N/A</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;PedagogyStudentAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;>Add boxed lunch for Professional Studio Saturday;<i> </i>Sat.,
March 16 <i><br>
(Please specify quantity. Must be ordered in advance.)</i></td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$15</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><!--webbot bot=&quot;Validation&quot;
S-Validation-Constraint=&quot;Greater than or equal to&quot;
S-Validation-Value=&quot;0&quot; --><input type=&quot;text&quot; name=&quot;ProStudioLunchQTY&quot; size=&quot;8&quot; value=&quot;0&quot; onchange=&quot;ProStudioLunchAmount.value=ProStudioLunchQTY.value*15&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;ProStudioLunchAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;>Add boxed lunch for Pedagogy Saturday; Sat., March 16 <br>
<i>(Please specify quantity. Must be ordered in advance.)</i></td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$15</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><!--webbot bot=&quot;Validation&quot;
S-Validation-Constraint=&quot;Greater than or equal to&quot;
S-Validation-Value=&quot;0&quot; --><input type=&quot;text&quot; name=&quot;PedagogyLunchQTY&quot; size=&quot;8&quot; value=&quot;0&quot; onchange=&quot;PedagogyLunchAmount.value=PedagogyLunchQTY.value*15&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;PedagogyLunchAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot; bgcolor=&quot;#C0C0C0&quot;><font size=&quot;3&quot; face=&quot;Times New Roman&quot;><b>Events
</b></font><font face=&quot;Times New Roman&quot; size=&quot;2&quot;>(Please specify quantities for each event listed
below.)</font></td>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot; bgcolor=&quot;#C0C0C0&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;>MTNA Gala; Mon., March 18</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$60</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><!--webbot bot=&quot;Validation&quot;
S-Validation-Constraint=&quot;Greater than or equal to&quot;
S-Validation-Value=&quot;0&quot; --><input type=&quot;text&quot; name=&quot;MTNAGalaQTY&quot; size=&quot;8&quot; value=&quot;0&quot; onchange=&quot;MTNAGalaAmount.value=MTNAGalaQTY.value*60&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;MTNAGalaAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;>Association Breakfast; Tue., March 19</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$15</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><!--webbot bot=&quot;Validation&quot;
S-Validation-Constraint=&quot;Greater than or equal to&quot;
S-Validation-Value=&quot;0&quot; --><input type=&quot;text&quot; name=&quot;AssocBreakfastQTY&quot; size=&quot;8&quot; value=&quot;0&quot; onchange=&quot;AssocBreakfastAmount.value=AssocBreakfastQTY.value*15&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;AssocBreakfastAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;>Awards Brunch; Wed., March 20</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$30</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><!--webbot bot=&quot;Validation&quot;
S-Validation-Constraint=&quot;Greater than or equal to&quot;
S-Validation-Value=&quot;0&quot; --><input type=&quot;text&quot; name=&quot;AwardsBrunchQTY&quot; size=&quot;8&quot; value=&quot;0&quot; onchange=&quot;AwardsBrunchAmount.value=AwardsBrunchQTY.value*30&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;AwardsBrunchAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;>From the Top, <i>Taping Transportation Fee</i>, Tue.
March 19</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$10</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><!--webbot bot=&quot;Validation&quot;
S-Validation-Constraint=&quot;Greater than or equal to&quot;
S-Validation-Value=&quot;0&quot; --><input type=&quot;text&quot; name=&quot;FromTopQTY&quot; size=&quot;8&quot; value=&quot;0&quot; onchange=&quot;FromTopAmount.value=FromTopQTY.value*10&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;FromTopAmount&quot; size=&quot;8&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;></td>
</tr>
<tr>
<td width=&quot;64%&quot;>MTNA National Student Competitions Program Book</td>
<td width=&quot;12%&quot; align=&quot;center&quot;>$5</td>
<td width=&quot;12%&quot; align=&quot;center&quot;><!--webbot bot=&quot;Validation&quot;
S-Validation-Constraint=&quot;Greater than or equal to&quot;
S-Validation-Value=&quot;0&quot; --><input type=&quot;text&quot; name=&quot;ProgramQTY&quot; size=&quot;8&quot; value=&quot;0&quot; onchange=&quot;ProgramAmount.value=ProgramQTY.value*5&quot;></td>
<td width=&quot;12%&quot; align=&quot;center&quot;><input type=&quot;text&quot; name=&quot;ProgramAmount&quot; size=&quot;8&quot;></td>
</tr>
</center>
<tr>
<td width=&quot;88%&quot; colspan=&quot;3&quot;>
&nbsp;
</td>
<center>
<td width=&quot;12%&quot; align=&quot;center&quot;>&nbsp;</td>
</tr>
</table>
</center>
</div>
<div align=&quot;center&quot;>
<center>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;60%&quot; colspan=&quot;5&quot;>Click to update total before submitting your
form and after making any changes.<br>
<input type=&quot;button&quot; value=&quot;Click to update total $&quot; name=&quot;Update&quot; onclick=&quot;TotalFees.value=(ActiveMemberAmount.value*1)+(StudentMemberAmount.value*1)+(NonMemberAmount.value*1)+(StudentNonMemberAmount.value*1)+(SpecialInvitationAmount.value*1)+(SymposiumAmount.value*1)+(LabOnlyAmount.value*1)+(ProStudioAmount.value*1)+(ProStudioStudentAmount.value*1)+(ProStudioLunchAmount.value*1)+(PedagogyAmount.value*1)+(PedagogyStudentAmount.value*1)+(PedagogyLunchAmount.value*1)+(MTNAGalaAmount.value*1)+(AssocBreakfastAmount.value*1)+(AwardsBrunchAmount.value*1)+ (FromTopAmount.value*1)+(ProgramAmount.value*1)&quot; style=&quot;font-weight: bold&quot;><!--webbot
bot=&quot;Validation&quot; S-Data-Type=&quot;Number&quot; S-Number-Separators=&quot;x.&quot;
B-Value-Required=&quot;TRUE&quot; --><input type=&quot;text&quot; name=&quot;TotalFees&quot; size=&quot;8&quot; style=&quot;font-weight: bold&quot; ></td>
</tr>
<tr>
<td width=&quot;16%&quot;><b>Please charge to my:</b></td>
<td width=&quot;12%&quot;><input type=&quot;checkbox&quot; name=&quot;MTNAMastercard&quot; value=&quot;1&quot;>MTNA
Mastercard</td>
<td width=&quot;8%&quot; valign=&quot;top&quot;><input type=&quot;checkbox&quot; name=&quot;Visa&quot; value=&quot;1&quot;>Visa</td>
<td width=&quot;12%&quot; valign=&quot;top&quot;><input type=&quot;checkbox&quot; name=&quot;Mastercard&quot; value=&quot;1&quot;>Mastercard</td>
<td width=&quot;12%&quot; valign=&quot;top&quot;><input type=&quot;checkbox&quot; name=&quot;AmericanExpress&quot; value=&quot;1&quot;>American
Express</td>
</tr>
</table>
</center>
</div>
<div align=&quot;center&quot;>
<center>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;50%&quot;>Credit Card # <!--webbot bot=&quot;Validation&quot;
S-Data-Type=&quot;String&quot; B-Allow-Digits=&quot;TRUE&quot; B-Value-Required=&quot;TRUE&quot; --> <input type=&quot;text&quot; name=&quot;CardNumber&quot; size=&quot;20&quot;></td>
<td width=&quot;50%&quot;>Expiration Date <!--webbot bot=&quot;Validation&quot;
B-Value-Required=&quot;TRUE&quot; I-Minimum-Length=&quot;5&quot; --> <input type=&quot;text&quot; name=&quot;ExpDate&quot; size=&quot;10&quot;></td>
</tr>
</table>
</center>
</div>
<p>
Please review your information carefully and update totals before submitting the
form. Upon submitting the form, please print the confirmation page for your
records.<br>
<input type=&quot;submit&quot; value=&quot;Submit Form&quot; name=&quot;Submit&quot;><input type=&quot;reset&quot; value=&quot;Reset Form&quot; name=&quot;Reset&quot;>
</p>
</form>

</body>

</html>
 
I think the error is this chunk here :



<!--webbot bot=&quot;SaveDatabase&quot; SuggestedExt=&quot;asp&quot;
U-ASP-Include-Url=&quot;../_fpclass/fpdbform.inc&quot; S-DataConnection=&quot;Convention&quot;
S-RecordSource=&quot;Convention&quot; U-Database-URL=&quot;../fpdb/Convention.mdb&quot;
U-Confirmation-Url=&quot;confirmationreg.asp?ConfirmationNumber=&quot; & confirm
S-Form-Fields=&quot;AssocBreakfastAmount StudentMember Telephone




when it should be :


<!--webbot bot=&quot;SaveDatabase&quot; SuggestedExt=&quot;asp&quot;
U-ASP-Include-Url=&quot;../_fpclass/fpdbform.inc&quot; S-DataConnection=&quot;Convention&quot;
S-RecordSource=&quot;Convention&quot; U-Database-URL=&quot;../fpdb/Convention.mdb&quot;
U-Confirmation-Url=&quot;confirmationreg.asp?ConfirmationNumber=<%= confirm %>&quot;
S-Form-Fields=&quot;AssocBreakfastAmount StudentMember Telephone



Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Dave;

I did have that code in at one point. If you look a few messages up, when I enter <%=confirm%> if get the error;

U-Confirmation-Url=&quot;confirmationreg.asp?ConfirmationNumber=<% =confirm %>&quot;

It returns the following error;

Response.Redirect &quot;confirmationreg.asp?ConfirmationNumber=<% =confirm
---------------------------------------------------------------------^

That is when Lobstah suggested & confirm
 
oh right yeah, sorry Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
If I maunally assign a value instead of passing a parameter, it works. Should I be using something other than the variable confirm? Maybe the field name &quot;ConfirmNumber&quot;?
 
Confirm is not a reserved word so that shouldn't be the problem. Regards

Big Dave

davidbyng@hotmail.com


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top