[Zope] Random Choice from SQL Method

Jatwood@bwanazulia.com Jatwood@bwanazulia.com
Wed, 8 Mar 2000 07:45:52 -0500


I am trying to pick a random element from a SQL Method (list)

I got this far:

<dtml-var expr="_.whrandom.choice(sqlMethodNamet())">

and get...

<r instance at 87183a8>

I know I a missing the boat in some way in terms of OO and lists but 
I find this a bit different than my usual Python programming.

Any help would be great.

Thanks,
JMA