[Zope] NEWBIE: assign next free ID automatically

Patrick Koetter p@state-of-mind.de
Mon, 16 Oct 2000 02:59:43 +0200


Hi,

I've been through the Guides, How-Tos and also some of the list-archives.
Though I am not a programmer I finally decided to ask that question to all
of you...

I want to give Users the possibility to add documents in a folder
<things_to_do> ;-).
so far so good ... Then I want to control the IDs simply by assigning an ID
to their Form.
I found a few articles generating either randomIDs or calculating IDs from
ZopeTime().

What is it that I want to do?
I want to evaluate the highest ID (all are 'int') within the folder and
assign the next highest.
I'm sure this is easy to you...

If there's a RTFM-document I'd be glad to read that.

thanks,

p@rick