Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

display on browse form

Questions related to using nuBuilder Forte.
Post Reply
johan
Posts: 422
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

display on browse form

Unread post by johan »

Hi
I have a problem when I want to display 2 items with the same name on a browse form.
Screenshot 2023-03-27 12.59.39.png
My SQL

Code: Select all

select a.re_id, l2.name afdeling , l.name functie, m1.naam titularis, m2.naam vervanger from contracten a
inner join list l on l.id = a.re_functie
inner join list l2 on l2.id = a.re_afdeling
left join titularis b on a.re_id = b.contract_id
left join medewerkers m1 on m1.id = b.medewerker 
left join vervanging c on c.vv_contract_id = a.re_id and c.vv_parent_id = b.medewerker 
left join medewerkers m2 on m2.id = c.vv_medewerker 
where b.eind is NULL and c.vv_eind is NULL
How can I solve this?
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: display on browse form

Unread post by kev1n »

Use an alias for the 2nd field to display:

e.g.

Code: Select all

M2.namm as naam2
Post Reply