p38
Active Member
Using the databasejoin, and using the additional where/orderby clause, I find this is not applied to the list view.
It is correctly applied in the form view, in other words, using
value, section
1,ABC
2,ABC
3,ABC
1,DEF
2,DEF
1,GHI
and {thistable}.section = 'ABC'
will only show the values that contain 'ABC' (i,2,3) in the form view for the dropdown element, but in the list view, this claus is not applied, so consequently one has many duplicates of the same record because the where clause is not applied.
PLEAE NOTE: I am NOT using ID integers in this case, but varchar values.
Please can you correct this.
Paul.
It is correctly applied in the form view, in other words, using
value, section
1,ABC
2,ABC
3,ABC
1,DEF
2,DEF
1,GHI
and {thistable}.section = 'ABC'
will only show the values that contain 'ABC' (i,2,3) in the form view for the dropdown element, but in the list view, this claus is not applied, so consequently one has many duplicates of the same record because the where clause is not applied.
PLEAE NOTE: I am NOT using ID integers in this case, but varchar values.
Please can you correct this.
Paul.