I have a 2 dimensional array like so
But...I need to change this to where I can add ONLY the elements that I want and get different results like so:Code:arrField_Data = array(array("ProductCode",strProductCode,rsProd("ProductCode")), _
array("Category",strCategory,rsProd("Category")), _
array("ProductPrice",intProductPrice,rsProd("ProductPrice")), _
array("StockQty",lngStockQty,rsProd("StockQty")), _
array("Qty",lngStockQty,rsProd("Qty")), _
array("OKBO",blnOKBO,rsProd("OKBO")))
Any ideas?Code:arrField_Data = array(array("ProductCode",strProductCode,rsProd("ProductCode")), _
array("OKBO",blnOKBO,rsProd("OKBO")))
arrField_Data = array(array("ProductCode",strProductCode,rsProd("ProductCode")), _
array("Category",strCategory,rsProd("Category")), _
array("ProductPrice",intProductPrice,rsProd("ProductPrice")), _
array("OKBO",blnOKBO,rsProd("OKBO")))
thanks
