Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pass reference to datatable into function
#1
Solved: 6 Years, 7 Months ago
I wish to pass the name of a datatable into a function, such that the function can then retrieve values from said datatable. I tried passing the name as text, but it didn't work. I've also spent a fair amount of time looking around the web for different ideas, to no avail.

I suspect I need to pass the name as an object reference or perhaps a control, but i've never used OO before (although i've read a fair bit about it) and so i'm struggling. Is anyone able to point me in the right direction?

TIA
Reply


Messages In This Thread
Pass reference to datatable into function - by smallsteve - 09-28-2017, 01:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Automate Datatable column name and sheetname in function syednaqvi 1 1,392 06-07-2017, 01:46 PM
Last Post: Ankur
  Calling a Function in Function Library when function is defined in an Action jitenderkkr 0 2,776 11-27-2014, 12:53 PM
Last Post: jitenderkkr
  Can you please help me in QTP DP to pass the variable name anshika.agarwal 1 2,597 09-04-2014, 06:43 PM
Last Post: anshika.agarwal
  How to identify the object reference to the existing(already opened) Excel sheet yogeesh 1 9,772 09-26-2012, 07:00 PM
Last Post: krr
  Pass "/" in Query string to DB Anjali09 0 2,467 01-04-2012, 08:34 PM
Last Post: Anjali09

Forum Jump:


Users browsing this thread: 1 Guest(s)