I have 3 arrays :
Set objRecordSet2 = Server.CreateObject("ADODB.RecordSet"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
objRecordSet2.ActiveConnection = objConnection
objRecordSet2.Open "SELECT * FROM tbl_names"
dim register,register2,register3,v
redim register(2000)
redim register2(2000)
redim register3(2000)
v=0
while not objRecordSet2.eof
register(v)=objRecordSet2("name"
register2(v)=objRecordSet2("email"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
register3(v)=objRecordSet2("phone"
v=v+1
objrecordset2.movenext
wend
now I have a web form and when the user enters a name I want the page to search through the register array and see if the name is in there. If it is I want to other fields to be filled with the corresponding values in register2 and register 3
what onchange call would I put in the line:
<INPUT TYPE=text NAME="name" onchange="????????" >
and what would the function be???
my form name is dataEntryform
thanks for your help
Derek McCart
Set objRecordSet2 = Server.CreateObject("ADODB.RecordSet"
objRecordSet2.ActiveConnection = objConnection
objRecordSet2.Open "SELECT * FROM tbl_names"
dim register,register2,register3,v
redim register(2000)
redim register2(2000)
redim register3(2000)
v=0
while not objRecordSet2.eof
register(v)=objRecordSet2("name"
register2(v)=objRecordSet2("email"
register3(v)=objRecordSet2("phone"
v=v+1
objrecordset2.movenext
wend
now I have a web form and when the user enters a name I want the page to search through the register array and see if the name is in there. If it is I want to other fields to be filled with the corresponding values in register2 and register 3
what onchange call would I put in the line:
<INPUT TYPE=text NAME="name" onchange="????????" >
and what would the function be???
my form name is dataEntryform
thanks for your help
Derek McCart