Oct 22, 2002 #1 BineInWob IS-IT--Management Oct 22, 2002 2 DE hi everybody, i made a main report with not linked subreport and want to have the record numbers like this: main report: 1 xxxxx 2 yyyy 3 zzzz following subreport: 4 aaaaa 5 bbbbb 6 ccccc how can i make it? thx for your support
hi everybody, i made a main report with not linked subreport and want to have the record numbers like this: main report: 1 xxxxx 2 yyyy 3 zzzz following subreport: 4 aaaaa 5 bbbbb 6 ccccc how can i make it? thx for your support
Oct 22, 2002 #2 synapsevampire Programmer Mar 23, 2002 20,180 US Use the recordnumber in the Main report. Create a shared variable and pass it to the subreport to continue iterating. In the main report prior to the subreport place something like: whileprintingrecords; shared numbervar MyRecordCounter:= recordnumber; Now in the subreport, use something like: whileprintingrecords; shared numbervar MyRecordCounter; MyRecordCounter := MyRecordCounter+1 -k http://www.informeddatadecisions.comkai@informeddatadecisions.com Upvote 0 Downvote
Use the recordnumber in the Main report. Create a shared variable and pass it to the subreport to continue iterating. In the main report prior to the subreport place something like: whileprintingrecords; shared numbervar MyRecordCounter:= recordnumber; Now in the subreport, use something like: whileprintingrecords; shared numbervar MyRecordCounter; MyRecordCounter := MyRecordCounter+1 -k http://www.informeddatadecisions.comkai@informeddatadecisions.com
Oct 28, 2002 Thread starter #3 BineInWob IS-IT--Management Oct 22, 2002 2 DE sorry, that doesn't work. CR always tells me that the formula cannot be evaluated at this time. Upvote 0 Downvote