Quote Originally Posted by OTWarrior View Post
This work fine in form view, but when I try to print (or print preview), the visible settings only match the first form (so everything shows).

Is there a way of forcing the print preview to execute code?
You are printing the form? - Then, I think, this is not possible.

You should create a report for printing. In a report there is a Format-Event for the Detail Section. In that event you can hide/show certain controls based on the data of the current record.