| || |
Run part of the script with Data Tabl
How can you run the part of the code using DataTable?
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">
detail = "D0001"
lockBoxGenerator = 0001
lockBoxFinal = lockBoxGenerator + 2
GBPNo = DataTable.Value("PolicyNum", dtGlobalSheet)
</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">The above code should not be used while working on the data table. So, while writing into the .txt file, it should write as
D0001 0001 (GBP No - pick from datatable row1)
D0001 0003 (GBP No - pick from datatable row2)
I just want part of the code to be run in iterations. I can change the iterations using Test-Settings-Run & change either to run single iterations or for all rows but I need a part of code to work for all & rest to remain constant.
Any help would be highly appreciated.
Re: Run part of the script with Data Tabl
GBPNo = detail&lockBoxGenerator&DataTable.Value("PolicyNum ", dtGlobalSheet)
Something like this should work if I read your post correctly.