gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andreas Fromm
Subject: [GNUe] How to iterate over all the records of a block in a trigger
Date: Sat, 20 Aug 2005 21:16:14 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

-----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-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]