[web2py] Re: format and represent on table

2013-03-27 Thread Massimo Di Pierro
The problem is that table._format is used to build field.represent only for references only when format is a string. In your case it is a function which performs a nested query. That is very expensive. Web2py wants you to be explicit before using it that to build a dropdown. It works (in the fi

[web2py] Re: format and represent on table

2013-03-27 Thread 黄祥
a, i c, thank you so much for your detail explaination, massimo. -- --- 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 web2py+unsubscr...@googlegroups.com. For m

[web2py] Re: format and represent on table

2013-03-27 Thread Alex Glaros
just curious Steve, are you writing a court app for government? Alex Glaros On Tuesday, March 26, 2013 10:43:53 PM UTC-7, 黄祥 wrote: > > hi, > > i've already define format in table but it seems return the id instead of > the format i've define, when i define represent on the field of the other

[web2py] Re: format and represent on table

2013-03-28 Thread 黄祥
nope, it just the futsal app the one that is similar to hotel management appliance. the room in the the hotel management appliance i rename it into court for futsal court. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe fr