I am trying to go through each record in a query and have it run some code then take the information from that record and place it in the proper place in a new table

anyone know how I can do this and loop through a table.. i need a detailed explanation because I have never worked with loops or looping queries...


PLEASE!!!!!!!!!