% ' FP_ASP ASP Automatically generated by a Frontpage Component. Do not Edit. On Error Resume Next Session("FP_OldCodePage") = Session.CodePage Session("FP_OldLCID") = Session.LCID Session.CodePage = 1252 Session.LCID = 1033 Err.Clear strErrorUrl = "" If Request.ServerVariables("REQUEST_METHOD") = "POST" Then If Request.Form("VTI-GROUP") = "0" Then Err.Clear Set fp_conn = Server.CreateObject("ADODB.Connection") FP_DumpError strErrorUrl, "Cannot create connection" Set fp_rs = Server.CreateObject("ADODB.Recordset") FP_DumpError strErrorUrl, "Cannot create record set" fp_conn.Open Application("stat_submission_form_baseball_ConnectionString") FP_DumpError strErrorUrl, "Cannot open database" fp_rs.Open "Results", fp_conn, 1, 3, 2 ' adOpenKeySet, adLockOptimistic, adCmdTable FP_DumpError strErrorUrl, "Cannot open record set" fp_rs.AddNew FP_DumpError strErrorUrl, "Cannot add new record set to the database" Dim arFormFields0(19) Dim arFormDBFields0(19) Dim arFormValues0(19) arFormFields0(0) = "Earned_Runs_Allowed" arFormDBFields0(0) = "Earned_Runs_Allowed" arFormValues0(0) = Request("Earned_Runs_Allowed") arFormFields0(1) = "Games_Played" arFormDBFields0(1) = "Games_Played" arFormValues0(1) = Request("Games_Played") arFormFields0(2) = "First_Name" arFormDBFields0(2) = "First_Name" arFormValues0(2) = Request("First_Name") arFormFields0(3) = "Pitching_Victories" arFormDBFields0(3) = "Pitching_Victories" arFormValues0(3) = Request("Pitching_Victories") arFormFields0(4) = "Stolen_Bases" arFormDBFields0(4) = "Stolen_Bases" arFormValues0(4) = Request("Stolen_Bases") arFormFields0(5) = "At_Bats" arFormDBFields0(5) = "At_Bats" arFormValues0(5) = Request("At_Bats") arFormFields0(6) = "School" arFormDBFields0(6) = "School" arFormValues0(6) = Request("School") arFormFields0(7) = "RBI" arFormDBFields0(7) = "RBI" arFormValues0(7) = Request("RBI") arFormFields0(8) = "Grade" arFormDBFields0(8) = "Grade" arFormValues0(8) = Request("Grade") arFormFields0(9) = "Runs_Scored" arFormDBFields0(9) = "Runs_Scored" arFormValues0(9) = Request("Runs_Scored") arFormFields0(10) = "Last_Name" arFormDBFields0(10) = "Last_Name" arFormValues0(10) = Request("Last_Name") arFormFields0(11) = "Triples" arFormDBFields0(11) = "Triples" arFormValues0(11) = Request("Triples") arFormFields0(12) = "Pitching_Shutouts" arFormDBFields0(12) = "Pitching_Shutouts" arFormValues0(12) = Request("Pitching_Shutouts") arFormFields0(13) = "Home_Runs" arFormDBFields0(13) = "Home_Runs" arFormValues0(13) = Request("Home_Runs") arFormFields0(14) = "Doubles" arFormDBFields0(14) = "Doubles" arFormValues0(14) = Request("Doubles") arFormFields0(15) = "Innings_Pitched" arFormDBFields0(15) = "Innings_Pitched" arFormValues0(15) = Request("Innings_Pitched") arFormFields0(16) = "Strikeouts" arFormDBFields0(16) = "Strikeouts" arFormValues0(16) = Request("Strikeouts") arFormFields0(17) = "HS_Enrollment" arFormDBFields0(17) = "HS_Enrollment" arFormValues0(17) = Request("HS_Enrollment") arFormFields0(18) = "Hits" arFormDBFields0(18) = "Hits" arFormValues0(18) = Request("Hits") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 If Request.ServerVariables("HTTP_USER_AGENT") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("HTTP_USER_AGENT"), "Browser_type" End If If Request.ServerVariables("REMOTE_HOST") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_HOST"), "Remote_computer_name" End If FP_SaveFieldToDB fp_rs, Now, "Timestamp" If Request.ServerVariables("REMOTE_USER") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_USER"), "User_name" End If fp_rs.Update FP_DumpError strErrorUrl, "Cannot update the database" fp_rs.Close fp_conn.Close Session("FP_SavedFields")=arFormFields0 Session("FP_SavedValues")=arFormValues0 Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") Response.Redirect "stat_submission_form_baseball.asp" End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %>
|
NCSAA Stat Submission Form - BASEBALL (Please submit only high school varsity team statistics.)
Back to Stat Submission Forms for All Sports Instructions for submitting stats:
1) Please submit stats ONLY for players on your high school varsity baseball team. 2) Please complete the following form completely to submit stats for one player. Press "Submit" after you are finished completing the form. 3) Please enter "0" (zero) for any statistical category for which your team kept no records. 4) After submitting.the form, you will be returned to this form to submit stats for another player. Repeat for as many players as you wish.. 5) We will compile the stats and update the Stat Leaders Board. Thanks for participating! 6) Any errors or problems can be reported to 724-846-2764 or nhartman@ncsaa.org. Feel free to call with questions, problems, or suggestions.
|
© Copyright 2008 NCSAA. All rights reserved.