This type of code will only work for a Single View Form...Record-appropriate formatting for Continuous View or Datasheet View Forms has to be done using Conditional Formatting off of the ribbon, can only be done for some type of Controls, and is limited in the types of formatting available, Visibility not being one that is available.
What type of Form are we talking about, here?
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007