Greg DOH!!! That's what I get for cutting and pasting code from a similar loop that gets the names of all the AP files that exist into an array. Thanks a lot, as usual. This is the sort of thing one notices when one walks a colleague through the code but can have one going "gozzy" trying to find it. Hope to be of similar help to you some day. Terry
________________________________ From: Driver, Greg 9434 [mailto:[EMAIL PROTECTED] Sent: 18 October 2005 16:30 To: Terry McDonnell Subject: RE: MI-L Save me from pulling the rest of my hair out Terry, You're fetching from 2 differnet tables: Fetch First From csrCenAPFlds Fetch Next From csrCAPInstcs !!!! Greg
