cancel
Showing results for 
Search instead for 
Did you mean: 

smartform

Former Member
0 Kudos

Hi Gurus!

problem is in smartform abt account statment.

we want output as -

First Page.

doc.no date desc Dr.amount CR. Amount Refer

xyz -- --- --- ---

Second Page

doc.no date desc Dr.amount CR. Amount Refer

xyz -- --- --- ---

Total -


-


but the problem is its printing total on first page also.

even through i have checked on after main window.the total field is send frm pragram n i just printing in footer of main window.

First Page.

doc.no date desc Dr.amount CR. Amount Refer

xyz -- --- --- ---

Total -


-


Second Page

doc.no date desc Dr.amount CR. Amount Refer

xyz -- --- --- ---

Total -


Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi rahul,

in footer check the check-box at end of table then total display at last page.

it works.

regards,

rajkumar

Former Member
0 Kudos

Hi Rahul,

if you make a table to display the data

there will be header

main

foooter

so header and footer will be triggered only once

starting of the table and end of the table

so if you write the total in the footer then it will be fine

regards,

venkatesh

Former Member
0 Kudos

Hi,

for the TOTAL field use separate window.

and go to window output properties checked on 'last page only'.

thanks,

Bhanu

Former Member
0 Kudos

there is no option of last page..

Former Member
0 Kudos

to find last page u need to write like this:

if &nextpage& = 0.

write ur code.

endif

Former Member
0 Kudos

Hi Madhavi !

how can we write this on condition of text or window.

?

Former Member
0 Kudos

Hi Rahul,

In the coditions tab of the Total WIndow, tick the option .

At end Of Main Window

Former Member
0 Kudos

hii nehal !

i tried that also . actually first page is second page, then after end of main window in first its printing Total then again after end of second page also its printing Total.

Former Member
0 Kudos

Hi,

Try with the condition 'not on first page' for that particular text/field.

I think this works.

Regards,

RB.