no problem i solved my problem ;)
thanks anywhere
On 19 Jun., 14:28, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Are you trying to show last name and fisrt name? Not sure I understand
> the question.
>
> On Jun 19, 4:06 am, pk <peter.kirch...@youngdesigners.de> wrote:
>
> > Hi together,
>
> > i have a table call projectmember. in there i have a lot of members
> > which sources frequentlich in the table:
>
> > for example:
>
> > 1 Müller abcdef
> > 2 Mike abcdef
> > 3 Müller ffff
> > 4 Mike hiadsfasdf
> > 5 Tom aködsfjasödf
>
> > in my model:
> > db.projecttasks.projectmemberid.requires=IS_IN_DB(db,
> > 'projectmember.id','%(lastname)s')
> > db.projecttasks.projectmemberid.represent=lambda id: db.projectmember
> > [id].lastname if id else None
>
> > i would show only one lastname in the form not like this:
>
> > Müller
> > Mike
> > Müller
> > Mike
> > Tom
>
> > how can i solve this problem?
>
> > thanks peter
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---