> the way I see it when you call the list it's transforming the iterator > so it's actually going to the db. > > so when you do clientById it's trying to go again and then is when you > get the error. cause your going twice to the db.
would that explain why i wind up getting the same error if i change the contents of the loop to "print client.clientid"? > by the way why don't you use Client.selectBy(active = 't', systemclient='f') i was ruling out oddness with .selectBy, since i had some code that was working with .select that needed some sql that .selectBy didn't support (at least at the time that i wrote it). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

