Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to give comma seprator when RS is returned multiple results?
#1
Not Solved
Friends,

I am beginner for QTP. please help me and guide me to reach my goal.

Code:
My RS - ' Test1 = Connect.Execute ("select EMPID from EMPTBL")'
datatable.value("ABC",dtlocalsheet)

Question: i am getting multiple results for the EMPID column. i want to give comma seprator for each result and write in Datatable . How can i script it?
guide me if my way of scripting is wrong to get the multiple results.

Result: i am getting the result and dttable value like 101102103104105 but i want the value like 101,102,103,104,105


Thanks in advance
Prasanna
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  This code does not give total no of links present on page plz help it returns 0 excellentpawan 8 5,269 01-17-2015, 07:49 PM
Last Post: yogi4tech
  Can i Give Variable in Object name ??? thiyaga 2 2,982 06-20-2012, 09:21 PM
Last Post: Surya
  Accessing an array returned from a function sqadri 2 5,397 03-28-2012, 09:31 PM
Last Post: sqadri
  How to give the file name dynamically using variable name vnsk 4 5,746 10-13-2011, 09:07 AM
Last Post: vnsk
  How to give the For Loop for 3 work sheets? Uma 1 2,796 09-10-2011, 06:54 PM
Last Post: Uma

Forum Jump:


Users browsing this thread: 1 Guest(s)