Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Output to DataTable
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi. I am writing data to a datatable. There are 2 entries I'm trying to write out. The first entry writes to the table with no problem. I added a DataTable.SetNextRow before writing the second entry. however, the second entry overwrites the first and when the file is exported, there is only on row of data in the table. What do I need to do to get the second entry add to the table on the second row? Thanks.l
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
You can do something like this:

Code:
For startRow=1 to 2
    DataTable.GlobalSheet.SetCurrentRow(startRow)
'Rest of your code here
Next
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Excellent Pete. It worked perfectly. Thanks for your help!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Output Values error Tasleem 3 3,917 10-27-2014, 02:13 PM
Last Post: Tasleem786
  Way to take values from datasheet and output Fairbanks 3 3,110 03-27-2014, 07:18 PM
Last Post: Ankur
  The recorded text output not appear on the correct row on the results datatable trance07 0 2,284 09-25-2013, 08:05 PM
Last Post: trance07
  Output value oracle form QAVA 2 3,722 11-30-2012, 03:09 AM
Last Post: QAVA
  Datatable add and datatable import sheet wheelercha 4 33,616 06-14-2012, 04:53 PM
Last Post: Arul

Forum Jump:


Users browsing this thread: 1 Guest(s)