Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dtGlobalSheet Columns
#3
Not Solved
[quote=Jackomcnabb]
Thanks a lot.

I had a datasheet with two Columns (Col1 & Col2) and I need to verify that if there was not a Col3 to add to to my script so when it is called later the call would not fail

Code:
a=DataTable.GetSheet(dtGlobalSheet).getparametercount
For i=1 to a
b=DataTable.GetSheet(dtGlobalSheet).GetParameter(i).Name
Next
If b <> Col3  Then
DataTable.GetSheet(dtGlobalSheet).AddParameter "Col3","Test this "
End If
Test1=DataTable("Col3", dtGlobalSheet)

msgbox(Test1)
Reply


Messages In This Thread
dtGlobalSheet Columns - by Jackomcnabb - 12-23-2008, 02:08 AM
RE: dtGlobalSheet Columns - by Ankur - 12-23-2008, 09:14 AM
RE: dtGlobalSheet Columns - by Jackomcnabb - 12-23-2008, 07:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Comparing two unsorted excel columns ProTester 2 2,512 09-13-2018, 02:11 PM
Last Post: ProTester
  How to Delete Rows with duplicate values in 1 columns in excel thru QTP. arpan 0 2,651 02-09-2015, 08:47 PM
Last Post: arpan
  How to get center data value in a odd number of rows and columns web table ... sai rajesh 0 2,618 11-13-2013, 10:24 PM
Last Post: sai rajesh
  Filter multiple columns in excel kamalteja 0 3,591 07-08-2013, 02:28 AM
Last Post: kamalteja
  Not able to read all the columns in a DevEx WPF grid srisrinath2006 1 2,867 05-10-2013, 03:45 AM
Last Post: sria123

Forum Jump:


Users browsing this thread: 1 Guest(s)