Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Select distinct in subform

Questions related to using nuBuilder Forte.
Post Reply
vario
Posts: 148
Joined: Mon Dec 05, 2011 12:23 pm
Location: Newton Abbot, UK
Has thanked: 1 time
Been thanked: 1 time

Select distinct in subform

Unread post by vario »

I am trying to use "select distinct" in the SQL for a subform. I see from this post it might not work.
I am stuck because there is no Before Browse for a subform, and even then I have no primary key for the subform because of the select distinct and also, whatever I put in the SQL seems to be ignored!

(Relates to this post)
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Select distinct in subform

Unread post by kev1n »

Create a view and use it the subform's sql. Also see my answer in your other post as it's related.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Select distinct in subform

Unread post by kev1n »

Could you make it work?
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Select distinct in subform

Unread post by kev1n »

Is this solved or do you still need our support?
Post Reply