I had posted a question on Retriving data Using 2 sql statements...
thread333-853837 and
thread333-848660
which no solution was found. have it figured out now and would like to share the solution with the forum especially amorus ,Drexor,alfredomulet& cassidyhunt who had helped out in search of a solution.
below was the piece of code that didi it.
thanks guys will be back as usual
<%
Test = request.querystring("Test")
Set Conn = Server.CreateObject("ADODB.Connection")
Set Rs = Server.CreateObject("adodb.Recordset")
Conn.Open "eiwp"
SQLQuery = "Select * from tblopgaCOm2 WHERE Test = " & Test
RS.Open SQLQuery ,Conn,1,1
strBillNo=RS("billNo")
SQLQuery1= "Select area FROM tblopgaCOm2 WHERE billNo = '"&strBillNo&"'"
Set RS1=Conn.Execute(SQLQuery1)
%>
thread333-853837 and
thread333-848660
which no solution was found. have it figured out now and would like to share the solution with the forum especially amorus ,Drexor,alfredomulet& cassidyhunt who had helped out in search of a solution.
below was the piece of code that didi it.
thanks guys will be back as usual
<%
Test = request.querystring("Test")
Set Conn = Server.CreateObject("ADODB.Connection")
Set Rs = Server.CreateObject("adodb.Recordset")
Conn.Open "eiwp"
SQLQuery = "Select * from tblopgaCOm2 WHERE Test = " & Test
RS.Open SQLQuery ,Conn,1,1
strBillNo=RS("billNo")
SQLQuery1= "Select area FROM tblopgaCOm2 WHERE billNo = '"&strBillNo&"'"
Set RS1=Conn.Execute(SQLQuery1)
%>