I created an accounting package. In invoice, I summed up in report footer. I have to show 10 detail section records . there are 3 cases.
1 the bill has <10 records,
2. bill has =10records,
3.bill has >10 records.
the detail.forcenew section=2 works fine with serial mod 10= 10 with if else statement . in 1 and 3 cases. but when there are exact 10 records, the report footer section goes to next page. .. I tried several if then else, if else select etc but noted that only first selection statement works then access' goes to sleep. I think access is lazy like me? Respected sir, I doubt I am missing something great. I am creating this great app for humanity. kindly show me the way.
regards.... Er. Kamal dev
code goes as:
I am using a5 page and .25,.25,.17,.33 3 l,r,b,t margins
1 the bill has <10 records,
2. bill has =10records,
3.bill has >10 records.
the detail.forcenew section=2 works fine with serial mod 10= 10 with if else statement . in 1 and 3 cases. but when there are exact 10 records, the report footer section goes to next page. .. I tried several if then else, if else select etc but noted that only first selection statement works then access' goes to sleep. I think access is lazy like me? Respected sir, I doubt I am missing something great. I am creating this great app for humanity. kindly show me the way.
regards.... Er. Kamal dev
code goes as:
Code:
in "report_page()" event===> if serial mod 10 =0 then detail.forcenewsection=2 else detail.forcenewsection=0 end if end sub
Comment