ok thanks, i will try this solution.
peter

On 5 Jun., 16:33, mdipierro <mdipie...@cs.depaul.edu> wrote:
> If you do a proper many2many you need to create your own interface for
> that.
> Alternatively you can use tagging
>
> db.define_table('project',SQLField('name'),SQLField('members','text')
> db.define_table('member',SQLField('name'))
> db.project.members.requires=IS_IN_SET(db,'member.id','%(name)
> s',multiple=True)
>
> multiple=True will do the trick.
> The list of members will be stores as "|1|5|7|2|...|"
>
> Massimo
>
> On Jun 5, 9:03 am, pk <peter.kirch...@youngdesigners.de> wrote:
>
> > hello,
> > i know i ask very much, but i´m very interested in web2py.
> > ok i have two tables. first = projects and second = members.
> > the user can create projects on the website (projectname,
> > startdate ...)
> > can i create a multiple option box where i can select members from the
> > table members
> > for every project i will create?
>
> > thanks
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to