Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database query
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Ajay,

Please see the following code.
'objRst is your record set object.
' strRep is an array

Code:
i= 0
While Not objRst.EOF
    strRep(i) = objRst("Home").Value
             i= i+1
    objRst.MoveNext
Wend
Please let me know if you have any queries.
Reply


Messages In This Thread
Database query - by ajayr1982 - 12-30-2010, 03:12 PM
RE: Database query - by rajeshwar - 12-30-2010, 05:02 PM
RE: Database query - by ajayr1982 - 12-31-2010, 08:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Rolleyes Browse object query Hema a newbie 0 1,800 07-22-2014, 08:37 PM
Last Post: Hema a newbie
  SQL Query Issue in QTP rajiv.qtp 1 2,476 11-28-2013, 10:36 AM
Last Post: Jay
  Do recordsets get to use only ONE query? Arena 0 2,184 04-03-2012, 07:08 PM
Last Post: Arena
  Pass "/" in Query string to DB Anjali09 0 2,578 01-04-2012, 08:34 PM
Last Post: Anjali09
  mapping database user to database kamalteja 4 4,694 11-03-2010, 11:58 AM
Last Post: kamalteja

Forum Jump:


Users browsing this thread: 1 Guest(s)