I see, so something like this should work as it does with certain tables.
finalMarkup
=generateMarkup(Field("School").toUpperCase(),Field("MetalSelection"));
var tableheight = new FusionProTextMeasure();
tableheight.CalculateTextExtent(finalMarkup);
var theheight = tableheight.textHeight;
if(Field("BrochureType") == "Dated w Pricing")
{
if(theheight > 11500)
{
FusionPro.Composition.SetBodyPageUsage("DatePricing",true);
}
else
{
FusionPro.Composition.SetBodyPageUsage("NoDatePricing",true);
}
}
if(Field("BrochureType") == "Non-dated w Pricing")
{
if(theheight > 11500)
{
FusionPro.Composition.SetBodyPageUsage("DatePricing",true);
}
else
{
FusionPro.Composition.SetBodyPageUsage("NoDatePricing",true);
}
}
if(Field("BrochureType") == "Dated without Pricing")
{
FusionPro.Composition.SetBodyPageUsage("DateNoPricing",true);
}
if(Field("BrochureType") == "Non-dated without Pricing")
{
FusionPro.Composition.SetBodyPageUsage("NoDateNoPricing",true);
}
//Checks actual amount of table
//return tableheight.textWidth;
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!
Do you have a question or lots of knowledge to share about FusionPro Web?
If so, join our Printable Web to Print Users' Forum today!
Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm
--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--
--
Note: All e-mail sent to or from this address will be received or otherwise
recorded by the e-mail recipients of this forum. It is subject to archival,
monitoring or review by, and/or disclosure to someone other than the recipient.
Our privacy policy is posted on www.printplanet.com
--