03-12-2015, 01:49 AM
I'm new to the site - so please forgive me if this has been answered somewhere else.
I'm using the following code to set a value on the Global datasheet - I see the value written during run-time, but after the execution is completed, the values are removed from the DataTable. Any chance someone can help me figure out what I'm missing? Ideally, I want this value to be retained after execution.
With the code below, I expect to write the contents of the variable DOC_NUM to the column labeled "DOC_NUM" on the Global datasheet:
I'm using the following code to set a value on the Global datasheet - I see the value written during run-time, but after the execution is completed, the values are removed from the DataTable. Any chance someone can help me figure out what I'm missing? Ideally, I want this value to be retained after execution.
With the code below, I expect to write the contents of the variable DOC_NUM to the column labeled "DOC_NUM" on the Global datasheet:
Code:
Dim DOC_NUM
DOC_NUM = "12345"
DataTable.Value("DOC_NUM",dtGlobalSheet) = DOC_NUM