[PD] Loop record using arrays?