[Pythonmac-SIG] OSA Range references

tom smith tom@othermedia.com
Tue, 20 Feb 2001 18:13:39 +0000


on 2/20/01 5:51 PM, bkenniso@att.net at bkenniso@att.net wrote:

>>>> db.get_data(record(Range(1,3))

it's difficult to say without seeing your get_data() function. I can't
remember whether FileMaker has a call where you could pass it a list of
integers... If there is, I imagine you might have to use some aetools to
build a list aeobject...

then again , you could always...

result_list = []

for i in range(1,10):
    record = db.get_data(i)
    result_list.append(record)

return result_list

...which would make successive hits on the database.