on 01-27-2008 12:02 PM
Hello smartform experts,
I am developing quite a complicated smartform right now.
The design of the page looks like this.
Page 1.
Loop at header table.
display delivery order and sales order.
Loop at materials where delivery_order=header_delivery_order and sales_order = header-sales order.
Display materials.
Endloop.
if sales order changes, go to new page.
if delivery order changes, start new page 1.
endloop.
what i did was i created on page 1, I had the mode = 'initialize counter',
and i copied page 1 and created a page 2, and had the mode = 'increase counter'.
so when the sales order changes, i created a command to go to page 2, and when the delivery order changes, i created a command to go to page1. and it does work...
the problem i now have is, for example, i have 3 diff sales order for the same delivery order, the page numbering is '1 of 1', '2 of 1' and '3 of 1'. It means that my sfsy-formpages is always 1.
Can anyone please explain how this is happening? is there a way to work around this?
Rewards points is always available. thanks a lot!
Instead of using the system field, you can store the value in your local variable..and get it displayed it will solve your problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.