out_transactionItem=dt_workItems(in_transcationnumber-1)
try in_transcationNumber<dtWorkItems.Count
Same