I've been working with a client who requires 20 samples of each of the "effort code" field values in my FP template pulling the appropriate page. I've been composing the document and searching in Acrobat for 20 each of the "effort code" values but with 50M to 80M records it gets to be a long process.
I have an onRecordstart rule:
if (Field("Effort Code") != "ERRXE")
{
FusionPro.Composition.SetBodyPageUsage("F", false)
}
if (Field("Effort Code") != "ERRPE")
{
FusionPro.Composition.SetBodyPageUsage("H", false)
}
if (Field("Effort Code") != "EIRXE")
{
FusionPro.Composition.SetBodyPageUsage("J", false)
}
if (Field("Effort Code") != "EPRXE")
{
FusionPro.Composition.SetBodyPageUsage("N", false)
}
if (Field("Effort Code") != "EPRAE")
{
FusionPro.Composition.SetBodyPageUsage("S", false)
}
What I'd like to do is limit each value to just 20 records of each just for proofing.