Home Subreports

ppOnePass / ppTwoPass

edited October 2003 in Subreports
hi,

I would like to control the One/Two pass according to the context.
so I added the lines
ppReport1.PassSetting:= psTwoPass;
ppReport1.print;
to my code and get a compiling error: "undeclared identifier"
the unit ppClass is part of my uses clause,
so why is the TppPassSettingType not known?


Patrick

Comments

  • edited October 2003
    Hi Patrick,

    psOnePass and psTwoPass are enumerated types located in the ppTypes.pas
    file. Add ppTypes to your "uses" clause and the issue should be resolved.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    THIS MAIL WAS NOT TO BE SEND

    anyhow the answer is that the definitions are in : "ppTypes"
    so once i included that unit all went well
    I hope it is of use to anyone.

    Patrick

This discussion has been closed.