jpadilla
3rd September 2002, 17:20
I have a report of sales by agent, I need that each agent starts in a new page. I'm using the function page(), but when a new page is started I always get the before.field layout of both, the last and the new agent. Something like this
Agent: 001 XXXXXXXXXX
Agent: 002 YYYYYYYYYYY
Item Quantity Price Cost
------ --------- ---- --
------ -------- ---- ---
for the agent 003 I get
Agent: 002 XXXXXXXXXX
Agent: 003 YYYYYYYYYYY
Item Quantity Price Cost
------ --------- ---- --
------ -------- ---- ---
How could I solve it??
I have the next report script:
after.tdsls970.agnt.10:
after.layout:
page()
any clue??
Regards
JP
Agent: 001 XXXXXXXXXX
Agent: 002 YYYYYYYYYYY
Item Quantity Price Cost
------ --------- ---- --
------ -------- ---- ---
for the agent 003 I get
Agent: 002 XXXXXXXXXX
Agent: 003 YYYYYYYYYYY
Item Quantity Price Cost
------ --------- ---- --
------ -------- ---- ---
How could I solve it??
I have the next report script:
after.tdsls970.agnt.10:
after.layout:
page()
any clue??
Regards
JP