Hidden Code

It’s been a while since I tried to hide any code so maybe I forgot how to do it. I remember that if I replaced the design of a db with a template that had it’s design elements blocked or hidden (could not be opened in design)the db would now be blocked, but if I replaced the design of the db with an unhidden template I would then be able to open the db in designer but the LS code would be hidden or blank. I can’t seem to do this anymore and was wondering if I am doing something wrong or could I never do it in the 1st place.

Thanks

Subject: Hidden Code

When you hide the design during a design replace, you remove LotusScript source code, encrypt formulas, and set a database flag. Then if you just clear the flag, you can open the database in Designer and use document item properties, but the LotusScript source is stil missing and formulas cannot be decompiled. Is that what you want? There is sample code for working with the flag here.