I am not quite sure what you are looking for, but you want to have a different radio button 'name' for each iteration thru the dtml-in loop you could use the 'sequence-index' or 'sequence-number' loop variables.
eg.
<input type =radio name=<dtml-var sequence-index>:records value="A">B <input type =radio name=<dtml-var sequence-index>:records value="B">B <input type =radio name=<dtml-var sequence-index>:records value="C">B <input type =radio name=<dtml-var sequence-index>:records value="D">B <input type =radio name=<dtml-var sequence-index>:records value="E">B <input type =radio name=<dtml-var sequence-index>:records value="F">B
This will give you a set of radio buttons (labelled 0-n, where n is the number of dtml-in loop iterations - 1) that have the same name for any given loop iteration, but will change from one loop iteration to the next. (sequence-number counts from 1 instead of from 0).
HTH
Jonathan
Thanks, this is getting nearer but how could i then iterate over <dtml-var sequence-index> in the ZSQL method that writes to the database? regards garry