8 Mar
2000
8 Mar
'00
12:45 p.m.
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
8 Mar
8 Mar
12:56 p.m.
New subject: [Zope] Random Choice from SQL Method
On Wed, Mar 08, 2000 at 07:45:52AM -0500, Jatwood@bwanazulia.com wrote:
I got this far:
<dtml-var expr="_.whrandom.choice(sqlMethodNamet())">
and get...
<r instance at 87183a8>
This is a record object. You should use: <dtml-var expr="_.whrandom.choice(sqlMehodNamet()).somesqlfieldname"> -Petru
9526
Age (days ago)
9526
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jatwoodï¼ bwanazulia.com -
Petru Paler