Ok, now I think I understand since I already have a result set from the query I cannot use yield.
The other example works because I am generating only one result set.
On Mon, Aug 17, 2009 at 7:55 PM, Nuno Mota
<nmota@net-bo.com> wrote:
I have fixed the problem populating a list and returning it.
Well I guess I have to learn a litte bit more of python to understand how to use yield when using multiple result sets.
Thank you anywayManagement Solutions for POS
Tlf: 351 225322000
Mob: 351 936272176
Fax: 351 226177662
http://www.net-bo.com
--
Nuno Mota <
nmota@net-bo.com>
Management Solutions for POS
Tlf: 351 225322000
Mob: 351 936272176
Fax: 351 226177662
http://www.net-bo.com