How to iterate over all the records of a block in a trigger

Andreas Fromm <[email protected]>
Newsgroups gmane.comp.gnu.enterprise.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Pleas consider the following situation:

I have a block, bounded to a DB-table, that contains some extra
unbounded fields (checkboxes). The user is allowed to alter the
contents of these extra fields (check the boxes). After the selection
is done, I would like to press a button and build a list containing
the records which where checked by the user.

I tried different ways of calling the getResultSet method,
first-/nextRecord and so on, on different objects (blokname, form,
etc. ) but always got an exception from __getattr__.

How can I do this?

Another question about Python. How can I see what kind of object
(which class it corresponds) a referenced object (like self) is? In
perl I just can put a "print $obj;"  and I get its class name, but in
python this seems not to work.

Regards

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDB4F+UmBtSMq5cGURAiZVAKDh23bYyf5aMnkUjrHTTxhvRMKCGgCffRk7
uHLXDIsFXBqJL6kiQHsqErc=
=nLLo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.