HI i using the code provide above and try to run but when i try to import back the exported file. i have this error ValueError: Mixing iteration and read methods would lose data
can help please and is it possibel to set the file exported in notepad/text doc/ms excel format?? thank in advance On Dec 28 2008, 11:23 pm, Fran <[email protected]> wrote: > On Dec 27, 1:20 pm, Fran <[email protected]> wrote: > > > Fixed it :) > > & if you need to display an image instead of just having the name of > the uploaded file, then can use the very long: > > db.table.field.display=lambda uuid: DIV(A(IMG(_src=URL > (r=request,f='download',args=[db(db.table2.uuid==uuid).select() > [0].image]),_height=100),_class='zoom',_href='#zoom-table-field-%s' % > uuid),DIV(IMG(_src=URL(r=request,f='download',args=[db > (db.table2.uuid==uuid).select()[0].image]),_width=600),_id='zoom-table- > field-%s' % uuid,_class='hidden')) > > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

