Click to See Complete Forum and Search --> : How to ... supppress a object in code


adisan
August 4th, 2005, 09:03 AM
I do not know how to specify in code a suppress formula.
For example: on first page to suppress a TextObject.

I use: objText1.Suppress = "if PageNumber=1 then true else false"
or objText1.Suppress = "if 1=1 then true else false",
but I'l receve a missmach error.


Thanks a lot,
Adrian

Madhi
August 13th, 2005, 07:54 AM
Try this
objText1.Suppress = "PageNumber=1"