Hi was wondering if anyone could help. ive got a jagged multi dimensional array and I was wondering if you could help me find how to work out the length of a single row of the array so;
my array is ;
cols(0) = New String() {"CSCSAccreditation", "CSCSExpiryDate", "CSCSAccreditation2", "CSCSExpiryDate2", "CSCSAccreditation3", "CSCSExpiryDate3"}
cols(1) = New String() {"A40SlingSignaller", "TeleHandler", "MEPWSPBoom1", "MEWPScissor1", "A14Forklift", "A16CounterbalanceFLT", "A60MobileCranes", "A66CompactCranes", "A02CrawlerCrane", "APCranes", "CraneSPVR", "CPCSCardExpiryDate"}
cols(2) = New String() {"A40SlingSignaller", "TeleHandler", "MEPWSPBoom1", "MEWPScissor1", "A14Forklift", "A16CounterbalanceFLT", "A60MobileCranes", "A66CompactCranes", "A02CrawlerCrane", "APCranes", "CraneSPVR", "CPCSCardExpiryDate"}
cols(3) = New String() {"CCNSGExpiryDate"}
cols(4) = New String() {"ExpiryDate"}
cols(5) = New String() {"IOSHCompletionDate"}
cols(6) = New String() {"licenceNo", "ScissorLift", "SelfPropelledBoom", "SPBExpiry", "StaticBoom", "StaticBoomExpiry"}
cols(7) = New String() {"RescueFromHeightExpires"}
cols(8) = New String() {"AbrasiveWheels", "PASMAExpires", "WorkAtHeight", "ConfineSpace", "FireSaftey", "HILTIDX", "HarnessTrainingDate"}
cols(9) = New String() {"SMSTSExpiryDate"}
cols(10) = New String() {"SSSTSExpiryDate"}
and i wish how to find the length of this;
cols(0) = New String() {"CSCSAccreditation", "CSCSExpiryDate", "CSCSAccreditation2", "CSCSExpiryDate2", "CSCSAccreditation3", "CSCSExpiryDate3"}
any help would be much appreciated.
Regards, Jim
my array is ;
cols(0) = New String() {"CSCSAccreditation", "CSCSExpiryDate", "CSCSAccreditation2", "CSCSExpiryDate2", "CSCSAccreditation3", "CSCSExpiryDate3"}
cols(1) = New String() {"A40SlingSignaller", "TeleHandler", "MEPWSPBoom1", "MEWPScissor1", "A14Forklift", "A16CounterbalanceFLT", "A60MobileCranes", "A66CompactCranes", "A02CrawlerCrane", "APCranes", "CraneSPVR", "CPCSCardExpiryDate"}
cols(2) = New String() {"A40SlingSignaller", "TeleHandler", "MEPWSPBoom1", "MEWPScissor1", "A14Forklift", "A16CounterbalanceFLT", "A60MobileCranes", "A66CompactCranes", "A02CrawlerCrane", "APCranes", "CraneSPVR", "CPCSCardExpiryDate"}
cols(3) = New String() {"CCNSGExpiryDate"}
cols(4) = New String() {"ExpiryDate"}
cols(5) = New String() {"IOSHCompletionDate"}
cols(6) = New String() {"licenceNo", "ScissorLift", "SelfPropelledBoom", "SPBExpiry", "StaticBoom", "StaticBoomExpiry"}
cols(7) = New String() {"RescueFromHeightExpires"}
cols(8) = New String() {"AbrasiveWheels", "PASMAExpires", "WorkAtHeight", "ConfineSpace", "FireSaftey", "HILTIDX", "HarnessTrainingDate"}
cols(9) = New String() {"SMSTSExpiryDate"}
cols(10) = New String() {"SSSTSExpiryDate"}
and i wish how to find the length of this;
cols(0) = New String() {"CSCSAccreditation", "CSCSExpiryDate", "CSCSAccreditation2", "CSCSExpiryDate2", "CSCSAccreditation3", "CSCSExpiryDate3"}
any help would be much appreciated.
Regards, Jim