DanClark86
MIS
I am working with an ASP form that has several fields that i can't find any logic behind. I am still a novice when it comes to writing pages. Any help would be grately apreacheated.
Okay, What i am trying to do is add another request that will tell me the database id of the entry that is created. I am also trying to make it so that all of this information is then e-mails to a receipeint. so this is a How dose this work questions. at the end of the "Dim arFormFields0(7)
" statement there is a 7 what dose the 7 represent? also if i had a nother field do i have to bump it up to 8 or can i just add 8 as the next line. Also at the end of the code i have put an entry to request the ID of the Database but it never returns the info. it wrights with no problem.
Code:
Dim iRecordId
Dim arFormFields0(7)
Dim arFormDBFields0(7)
Dim arFormValues0(7)
arFormFields0(0) = "Prob"
arFormDBFields0(0) = "Prob"
arFormValues0(0) = Request("Prob")
arFormFields0(1) = "Last"
arFormDBFields0(1) = "Last"
arFormValues0(1) = Request("Last")
arFormFields0(2) = "tech"
______________________________
deleted for space
_______________________________
arFormFields0(6) = "Operator"
arFormDBFields0(6) = "Entered"
arFormValues0(6) = Request("Operator")
Okay, What i am trying to do is add another request that will tell me the database id of the entry that is created. I am also trying to make it so that all of this information is then e-mails to a receipeint. so this is a How dose this work questions. at the end of the "Dim arFormFields0(7)
" statement there is a 7 what dose the 7 represent? also if i had a nother field do i have to bump it up to 8 or can i just add 8 as the next line. Also at the end of the code i have put an entry to request the ID of the Database but it never returns the info. it wrights with no problem.
Code:
<input type="hidden" name="ID" value="<%= fp_rs.Fields("ID").Value %>"