Problem with looping on some List
More than 1 records are shown as result of a form search and from my debug screen I'm facing a comma delimited values from each fields as shown below. The requirement is for the user to be able to do an update to each record at once instead of one record at a time.
Users should be able to check on the checkboxes next to Diane, Suzane,Debbie's records and hit the Update button, those record will get updated.
I tried cfloop list, looping through PersonalId list but it did not help when I look at my database I got:
PersonalId = 1232
FirstName = Diane,Suzanne,Debbie
LastName = Smith,Boyle,Reynold
PersonalId = 3433
FirstName = Diane,Suzanne,Debbie
LastName = Smith,Boyle,Reynold
etc
Form Fields:
FirstName = Diane,Suzanne,Debbie,David,Mark,Ron
LastName = Smith,Boyle,Reynold,Tomang,Schulteis,Wong
PersonalId = 1232,3433,4532,234,678,65,77
DeptCode = ACC,FRNTD,DPRD,MRKT,BSNS,ACQUIS
