Good Day Experts!
I am iterating through a DataTable referencing values in it for a select query.
Here is the portion of the select query where sqlRSGetLineItems is the DataRow in the below For Each loop:
[BATCH NUMBER]='" & sqlRSGetLineItems("BATCH NUMBER").Value & "''
For Each sqlRSGetLineItems In sqlRStbl.Rows
Issue I have is that "BATCH NUMBER" is decimal. So how do I reference it for use in the query? I am getting an error since I am using .Value.