You're only creating one "fields" object. Move the declaration for your 'fields' object into the loop so a new one gets created for each row and try it again.
[BPSouther: fixed cut and paste error. Thanks Saif!] [ March 15, 2007: Message edited by: Ben Souther ]