Re: How to iterate over all the records of a block in a trigger
Reinhard Mueller <[email protected]>
| Newsgroups | gmane.comp.gnu.enterprise.general |
|---|---|
| Organization | GNU Enterprise |
| Message-ID | <[email protected]> |
Am Sonntag, den 21.08.2005, 17:00 +0200 schrieb Bajusz Tamás: > The correct syntax is: > > for record in myBlock.getResultSet(): > if record['foo']: > record['bar'] = 'baz' Oh, yes, sorry. I probably shouldn't answer mails before breakfast ;-) Thanks, Reinhard _______________________________________________ Gnue mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnue
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDCJm94LscQraoxVkRAlUHAJ90GeNBtXxdGG8FuGo4e9i4SWbd4ACgi3cO k+uvTtQws+VLThc27uHOJdM= =/qZ1 -----END PGP SIGNATURE-----