I have the following code
while
select sum(any2Int(SLD_Bundles))
from _ProdTable
group by _SiseChart.SizeID
join SizeId,DropId
from _SizeChart
where _SizeChart.InventSizeId==_InventDim.InventSizeId
{
//Bundle = str2Int(_ProdTable.SLD_Bundles);
CBLTblSchdDataBundleTmp.SLD_BUNDLE=_ProdTable.SLD_Bundle;
CBLTblSchdDataBundleTmp.SIZEID=_SizeChart.SizeId;
CBLTblSchdDataBundleTmp.DROPID=_SizeChart.DropId;
CBLTblSchdDataBundleTmp.insert();
How do I convert string to Int. The field SLD_Bundle is an nvarchar in the table


Report
All responses (
Answers (