RR SQL V10

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
David_R_(Guest)
Posts: 8
Joined: Tue Oct 10, 2017 12:44 pm

RR SQL V10

Post by David_R_(Guest) » Thu Sep 28, 2006 5:23 pm

I^m trying to duplicate functionality of a Lookup from RR xBase.__If you have master tableA, detail tableB, and detail tableC. TableB and TableC have multiple records for each TableA record but I only want to Lookup and find only the first record of TableC. Is there a way to do that in RR SQL? I don^t want a record printed in the detail section(from TableB) that^s duplicated for every TableC record.__Thanks.__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: RR SQL V10

Post by kfleming » Fri Sep 29, 2006 9:50 am

There is not a way in SQL to specify a one to one relation rather than a one to money. But you may be able to get the desired result by using a Group band line rather than a record band. You may need to experiment to find the correct grouping level.____Kathleen__R&R Support

Post Reply