Bill Meyer 337 Posted May 20, 2022 I am building reports again with ReportBuilder after a few years away from it. At present, my report produces only one row, though there are 384 records in the dataset. I recall encountering this problem some years ago, but do not recall how I got past it. If anyone here can enlighten me, I would appreciate it. Share this post Link to post
Ian Branch 128 Posted May 20, 2022 Is that 'row' in the ^ Detail row of the report?? Share this post Link to post
Bill Meyer 337 Posted May 21, 2022 15 hours ago, Ian Branch said: Is that 'row' in the ^ Detail row of the report?? It is, and the data in that row is from the first record of the dataset. Logging in pipeline events shows that the pipeline is active, and dataset is active and contains 384 records, and even shows that pipeline.Next fires. Once. Share this post Link to post
Ian Branch 128 Posted May 21, 2022 Hi Bill, As a confirmation of the 384, put a DBCalc counter in the Summary that counts the number of records in the Detail. Care to share an image of the design layout? Share this post Link to post
Ian Branch 128 Posted May 23, 2022 Ahhh. OK. I don't think I have ever set it to true.. Well done. Share this post Link to post
emileverh 22 Posted May 23, 2022 Just now, Ian Branch said: Ahhh. OK. I don't think I have ever set it to true.. Well done. Does it work? Share this post Link to post
Ian Branch 128 Posted May 23, 2022 I opened my mouth before engaging brain... That is for Bill to test/confirm. Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 7 hours ago, emileverh said: Set .AutoStop of the ppReport to FALSE It is and has been. Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 On 5/21/2022 at 10:55 AM, Ian Branch said: Hi Bill, As a confirmation of the 384, put a DBCalc counter in the Summary that counts the number of records in the Detail. Care to share an image of the design layout? The layout is relatively simple. All objects in the Detail band are created in the BeforePrint. Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 (edited) On 5/21/2022 at 10:55 AM, Ian Branch said: As a confirmation of the 384, put a DBCalc counter in the Summary that counts the number of records in the Detail. Did that, and it reports 1. However, a logging action in plMain shows 384. Still, this is at least a clue, I suppose, except I don't understand what it suggests. My log results: Edited May 23, 2022 by Bill Meyer Share this post Link to post
Ian Branch 128 Posted May 23, 2022 HI Bill, It suggests that the Detail data isn't being traversed and is reporting just the first record. If the record you are seeing is in fact the first record, then.. a. Check your filter/query. b. Check the Traversal parameter for the Detail row. Ian Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 (edited) 10 minutes ago, Ian Branch said: HI Bill, It suggests that the Detail data isn't being traversed and is reporting just the first record. If the record you are seeing is in fact the first record, then.. a. Check your filter/query. b. Check the Traversal parameter for the Detail row. Ian No filter is in use. Not sure what you are suggesting in b.... If you mean the ColumnTraversal property, it is set as ctTopToBottom, but ctLeftToRight makes no difference. Edited May 23, 2022 by Bill Meyer Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 1 minute ago, Ian Branch said: It is possibly this parameter.. Does not seem to be. Changing it produces the same result. Share this post Link to post
Ian Branch 128 Posted May 23, 2022 OK. Difficult to debug like this. Can you send me the .tmp file? Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 4 minutes ago, Ian Branch said: OK. Difficult to debug like this. Can you send me the .tmp file? I have no .tmp file. Is that from a property I need to set? Share this post Link to post
Ian Branch 128 Posted May 23, 2022 No. Umm. Are you creating the report totally in code or using a version of the Users App? Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 Just now, Ian Branch said: No. Umm. Are you creating the report totally in code or using a version of the Users App? Totally in code. We routinely need to construct dynamically, and that is the case in this one. Share this post Link to post
Ian Branch 128 Posted May 23, 2022 Ummm. OK. Then I am out of my depth. I have never created a ret programmatically. I would suggest getting on the RB Forum and asking there. Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 Just now, Ian Branch said: Ummm. OK. Then I am out of my depth. I have never created a ret programmatically. I would suggest getting on the RB Forum and asking there. Thanks, I appreciate your efforts. I can't use the forums at the moment, as the license is not active, and the renewal is working its way through corporate. The creation of objects is not a big deal, the main thing is that I have a couple of columns which are always present, and then some number of groups of four columns each, and I have to allow for printer orientation affecting how many can fit, and for putting the excess onto another page (horizontal spanning.) I also handle all the column width management in code. We have only a handful of static report designs in the system. Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 35 minutes ago, Bill Meyer said: Thanks, I appreciate your efforts. I can't use the forums at the moment, as the license is not active, and the renewal is working its way through corporate. The creation of objects is not a big deal, the main thing is that I have a couple of columns which are always present, and then some number of groups of four columns each, and I have to allow for printer orientation affecting how many can fit, and for putting the excess onto another page (horizontal spanning.) I also handle all the column width management in code. We have only a handful of static report designs in the system. Update: I finally found the right search term, and found a small article in the rbWiki which afforded me the necessary clue. I am now getting 11 pages and all 384 records. Share this post Link to post
Ian Branch 128 Posted May 23, 2022 Hi Bill, I am pleased. What was it? Ian Share this post Link to post
Bill Meyer 337 Posted May 23, 2022 I needed to remove the pipeline from the report, and connect it to the group header instead. Share this post Link to post