Jean.Stachler | 20 Apr 2007 22:51
Picon
Favicon

Problem with creating document by data detail


Basically, I am trying to create a report from the detail of various
documents.

I am pulling the document detail from a specified view that is categorized.
The document has the following information:  site, county, product and
quantity.

I am needing to create documents for all of the site locations with a new
document created for each new county and product.

At this time, I am creating a new document for each site.  Within that
site,
I have the listing of all of the counties for that site.  I have the
product and quantity
calculating out correctly.

Can somebody tell me how I can I loop through the documents so that when
a new county appears within the same site, that a new document is created?

Below is a shrunk down example of my code.

Anyones comments concerning this is much appreciated.

Thanks,
Jean

<<<<<CODE>>>>>>

Brining in Month & Year
(Continue reading)


Gmane