Hi,
I'm not blessed with a lot of time at the moment, but looking at your SQL code I'm guessing the BREAK BY statement might be the right direction to look in .... something along the following lines:
FOR EACH Trips NO-LOCK:
FOR EACH Buys NO-LOCK
WHERE Buys.Cust# = Trips.Cust#
AND...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.