Fileprint

hi all,we have an application in which we have a form and we have a button in it.In click event of button we have written @command([filePrint])and only in certain conditions this form can be printed.but people here printing the form by file menu’s print action.Can I stop printig from file menu.

thanks

sukhvinder

Subject: Computed Subform

Create two subforms, “Subform A” and “Subform B”. Move your fields to BOTH subforms and remove them from the form. Set the hide-when properties for all paragraphs on “Subform A” to hide when printing.

On the form, add a computed subform. Calculate whether “Subform A” or “Subform B” should be used depending on whether you want the user to be able to print the data or not.