Hi Guys,
I have a column of Codes, which has 6 digits stored as TEXT field in a Collection 'colAllCodes'.
I have a Gallery of Codes 6 digits stored as TEXT field, requested to be Added to a SharePoint List.
Before I add to the SharePoint List, I want to check if the first FOUR digits only of the Requested Codes exist in the first four digits of colAllCodes.
If any of the Requested Codes first four characters match with the first four characters of colAllCodes, Set(varShowAoA, false) else Set(varShowAoA, true).
In the following case, 3314 matches but 7010 do not match, so the function outcome should be Set(varShowAoA, true)
Requested Codes Gallery
Codes
331412
701012
Collection colAllCodes
Value
422010
422060
432220
439050
773012
331411
331412
521093
351011
477312
Hope my query is clear, thanks in anticipation for your assistance.
Laik