Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding Value to DataTable Column
#2
Solved: 10 Years, 9 Months, 1 Week ago
For some reason it doesn't recognize Column "A" when there is no row active.you can write some data in row "one" of data table and then click row "two" and then delete the content in row "one".The row "one" is still active after deleting the content from row "one".Now try the below code and it works as expected
Code:
DataTable.Value("A", 1)=6
Alternatively, you can use the below code without any work around
Code:
DataTable.GlobalSheet.AddParameter "A",6

Regards,
Ravi
Reply


Messages In This Thread
Adding Value to DataTable Column - by kriday - 09-13-2012, 01:01 AM
RE: Adding Value to DataTable Column - by ravi.gajul - 09-13-2012, 11:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pages and Frames adding _1, _2, _3... zunebuggy 1 1,512 05-30-2017, 12:17 AM
Last Post: Vichu M J
  Adding negative amount in webedit Rose 1 2,010 06-30-2016, 09:34 PM
Last Post: babu123
  [UFT] Get column name from SfwObject felino 0 2,910 12-02-2015, 04:07 PM
Last Post: felino
  AddParameter method does not add in first column of datatable alpha1 4 5,341 07-14-2015, 12:44 AM
Last Post: supputuri
  Adding data into rows that add dynamically with setcelldata azar81 4 5,665 04-13-2015, 05:24 PM
Last Post: vidya2k2

Forum Jump:


Users browsing this thread: 1 Guest(s)