View Single Post
  #1  
Old May 13th, 2010, 09:28 PM posted to microsoft.public.access.reports
1stAyd
external usenet poster
 
Posts: 2
Default Conditionally Format A Line?

Greetings, Access Novice here.

I have Line18 formatted as Visible = "NO" in Properties, and I want to make
it visible depending on the value of certain fields. Why doesn't this code
work when put in the "On Format" or "On Print" events of the Detail section?

If [Inventory Posting Group] = "RESALE" Then Line18.Visible = "YES"

BTW, I tried "TRUE" in place of "YES", and it still didn't work. TIA.