16 Jan
2002
16 Jan
'02
4:51 p.m.
Hi Maik! Thanks for your quick answer. --On Mittwoch, 16. Jänner 2002 15:13 +0100 Maik Jablonski <maik.jablonski@uni-bielefeld.de> wrote:
another way could be:
id = "objId_%d" % len(container.objectValues())
this results in unique values if you don't delete an object out of the container...
i think there may be better ways, but hope this helps a bit...
Thanks, it helped a lot. With the id of the last object inserted into the container I could create a sequence of ids. Is there a simple way to get this id? Juergen