[web2py] Re: one to many using list:reference

2013-09-19 Thread Massimo Di Pierro
No because that would be inefficient. Yet in forms the elements of a 
list:reference that correspond to deleted records are filtered out. So when 
you edit the record they are deleted.


On Thursday, 19 September 2013 08:08:35 UTC-5, Manuele wrote:

 Hi, 
 I thought to use fields of type list:reference to manage one to many 
 relation from different tables to the same table (containing all file 
 attachment of my application) but in case of removing records from the 
 referenced table with attachment do I have manage record updates on the 
 other table right? I guess using table events? 

 thank you in advance 

 Manuele 


-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [web2py] Re: one to many using list:reference

2013-09-19 Thread Manuele Pesenti
Il 19/09/13 17:11, Massimo Di Pierro ha scritto:
 No because that would be inefficient. Yet in forms the elements of a
 list:reference that correspond to deleted records are filtered out. So
 when you edit the record they are deleted.
Great!
Thank you Massimo and Richard.

Cheers

Manuele



 On Thursday, 19 September 2013 08:08:35 UTC-5, Manuele wrote:

 Hi,
 I thought to use fields of type list:reference to manage one to
 many
 relation from different tables to the same table (containing all file
 attachment of my application) but in case of removing records from
 the
 referenced table with attachment do I have manage record updates
 on the
 other table right? I guess using table events?

 thank you in advance

 Manuele

 -- 
 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 web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.