Skip to Content
0
Former Member
Sep 01, 2009 at 09:41 AM

Smartforms: Generating forms for multiple IDs

19 Views

Hi All,

I am working on Smartforms and have few queries:

1. Can we control the generation of the invoices at the form level? In my example, through the driver program I am passing all the tables at one go and not in a 'loop'. Now I want to control that after the generation of invoice for 1st customer, the form should start generating the invoice for the next customer.

say, for customer 1, there were 10pages generated. On completion of this, it should start with the next customer.

2. Can the tables inside the smartforms be controlled dynamically?

Scenario:

a) The data which i am getting in the table:

Carrier Line Flight date Departure Price

LH 407 2/9/2009 11:00:00 768 USD

LH 407 12/9/2009 11:00:00 768 USD

LH 407 21/9/2009 11:00:00 768 USD

The output required:

Carrier Line Flight date Departure Price

LH 407 2/9/2009 11:00:00 768 USD

407 12/9/2009 11:00:00 768 USD

407 21/9/2009 11:00:00 768 USD

If there are multiple records for the same carrier, the rows should be mergedfor that particular column.

Kindly suggest what should be done?

Warm Regards

Amit