jecm254
18th January 2013, 00:06
Using the Baan session Maintain Query Data I am trying to create a query that will print only the first Production Planning record (table tisfc010) with Count Point "Yes" (tisfc010.copo = tcyesno.yes).
I have no experience using the Group By function, although the help text states that it can be used to eliminate duplicates.
I thought perhaps using order by tisfc010.pdno, tisfc010.opno desc and group by tisfc010.pdno, tisfc010.copo that it would do the trick, but I keep getting errors.
Can someone shed some light on how I can accomplish this? We have no programmer in house to create a "proper" report session for this.
The complete query is attached.
I have no experience using the Group By function, although the help text states that it can be used to eliminate duplicates.
I thought perhaps using order by tisfc010.pdno, tisfc010.opno desc and group by tisfc010.pdno, tisfc010.copo that it would do the trick, but I keep getting errors.
Can someone shed some light on how I can accomplish this? We have no programmer in house to create a "proper" report session for this.
The complete query is attached.