[Zope] External Method to view ZSQL Record
Joseph A. Archer
archerja@jmu.edu
Fri, 10 Mar 2000 12:33:08 -0500
To all Zopists,
I would like to use an External Method to access a record field from a ZSQL
method by referencing another field in the record. If I set the External
Method up such as:
def viewfield(self,reference_field,search_value,field_value):
where:
reference_field = So that I can tell it the field I want to reference
search_value = The value of the reference_field to query
field_value = The value of the returned field, that I was looking for
Do I use a "return" or a "result" or something else? I still don't have a
handle on python yet, so I'm not sure what to put on the second line of the
method.
Thanks for all the help so far, and thanks for the help on this, in advance.
virtually,
Joseph A. Archer
IT Coordinator
Facilities Management
James Madison University
archerja@jmu.edu