The last response was partially correct. The problem does seem to be in
the string comparison. You need to compare both strings of the same
case. For example:
if (ToUpper(Field("PR_FLAG")) == "10220-E")
Or if you really want to be explicit and avoid accidentally breaking the
rule if you change the string:
if (ToUpper(Field("PR_FLAG")) == ToUpper("10220-E"))
However, the statement that you always need to set the page usage on
every page is wrong. This is a common misperception. However, I can
assure you that all pages are reset to the usage defined in the Page
Usage dialog at the start of each record, before OnRecordStart is
called. Therefore, if you have all of your pages set to be unused, you
only need to activate the ones you want to use in each record.
Conversely, if you set all your pages to be used, you only need to
deactivate the ones you don't want. Also, the settings do not carry
over from one record to the next; they always get reset to what's
defined in the Page Usage dialog.
Dan
--
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
--
Don't miss The Printable Technologies 2007 User Group Conference at the Monte
Carlo Resort and Casino in Las Vegas, March 14 through March 16, 2007.
For more details or to register, go to
http://www.traveltrust.com/Forms/pt_signup_2007-3.html
--
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
--