In the Web2Py book section describing the format attribute of a table
there is a brief mention of represent. It seems they serve related but
different purposes. Also the label parameter of IS_IN_DB() is also very
similar.
They all have the same format, anyways (and accept lambda functions)



What are the different situations where these should be used?


I have not been able to produce any noticeable results from format, I'm
not sure now to use represent, and IS_IN_DB(.., label) formats menu
items in the drop down when inserting via appadmin.
(I was originally trying to format the references in the appadmin query
interface)


John

Reply via email to