% '************************************************************************************ '* ABC Guide Registration - step - orderABC.asp '* by Alfred Walden; previously Tom Laauwe '* January 2007 '* DESCRIPTION: Displays and submits ABC registration option '************************************************************************************ ' Used to establish the Edition that is put into the database. ' Make sure you change this each year. '******************************************************************************* ' Subs Section '******************************************************************************* '****************************** '******************************************************************************* ' Main Section '******************************************************************************* Dim strAlert strAlert = "" If Request.Form("PBstep2Confirm") = "True" Then For Each frm In Request.Form If frm <> "btnBack" And frm <> "btnNext" And frm <> "PostBack" And frm <> "myUName" And frm <> "postback" And frm <> "btnSubmit" And frm <> "CopyContactInfo" Then If Request.Form(frm) <> "" Then Session(frm) = Request.Form(frm) End If End If Next If Request.Form("UserName") <> "" Then Dim qryUserCheck qryUserCheck = "SELECT * FROM tbl_Customers WHERE UserName='" & Request.Form("UserName") & "'" Set rsUserCheck = Server.CreateObject("ADODB.Recordset") rsUserCheck.Open qryUserCheck, GetWMCMSConnection, 3, 3 If Not rsUserCheck.BOF And Not rsUserCheck.EOF Then strMsg = strMsg & "