Thanks Anthony, that worked!

On Saturday, August 11, 2012 12:04:58 AM UTC+8, Anthony wrote:
>
> Once the data have been inserted into the db, the id of the inserted 
> record is stored in form.vars.id, which is a DAL Reference object. 
> Assuming you don't want that value, just add a condition testing for key 
> != 'id'. If you do want the id included, then you can replace val with 
> str(val) in your code.
>
> Anthony
>
> On Friday, August 10, 2012 11:24:38 AM UTC-4, lyn2py wrote:
>>
>> This is something simple, but I don't know why it doesn't work.
>>
>> I want to loop thru form.vars, so
>> for key, val in form.vars.iteritems():
>>             text += key+': '+val+"\n"
>>
>> The ticket says val is a 'Reference'?
>>
>

-- 



Reply via email to