Rvivo33 0 Newbie Poster

I am new and very lost. Any help is greatly appreciated

I have an html page that I am using VBScript to redirect to another page I want to bring over data pulled to a textbox on form1 to a textbox on form2. This is what I tried

This is my SQL

Dim rsLead Set rsLead = cnBlood.Execute( "SELECT EmpID FROM LeadVw2 where LastName = '" & frmEntry.txtName.value &"' and FirstName = '" & frmEntry.txtFName.Value &"'" )

This is my Redirect
parent.window.frames("Main").document.URL = "newEntry.htm?txtEmpID="& txtSSN

My information pulls but when I redirect My results do to go to form2