tried several thing, but the result still not expected 
e.g.
elif 'reference' in db[table][field].type:
#data_reference = db[table]._format # result : %(name)s
#data_reference = db[table][field].represent # result : 
<pydal.helpers.methods._repr_ref object at 0x11048a390>
#data_reference = db[table][field] # result : bank.address
#data_reference = db[table][field].name # result : address
data_reference = row[field] # result : id int value
#data_reference = row[field]._format # result : error traceback
#data_reference = row[field].format # result : error traceback
#data_reference = row[field].represent # result : error traceback
#data_reference = row[field].name # result : error traceback
ws.write(x, y, str(data_reference), date_style)

best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to