good idea but it didn't work. i had this as my code:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Me.txtboxstocknumber.FormatConditions(1).ForeColor = RGB(0, 0, 0)
Me.txtboxstocknumber.FormatConditions(2).ForeColor = RGB(0, 0, 0)
Me.txtboxstocknumber.FormatConditions(3).ForeColor = RGB(0, 0, 0)
End Sub
and i got an error that basically said that i can't set conditional formats
in print preview mode or once printing had started. any other direction you
can think to go in?
Randy Harris wrote:
lyle's comment aside, the problem is that my black and white only printer is
printing the colored controls in shades of grey. this would be the same for
[quoted text clipped - 11 lines]
Or, if you prefer, programmatically turn off your conditional formatting.
I haven't played with the exact syntax, but you should be able to use
something like:
Me!tbxText1.FormatConditions.Enabled = False
--
Greg
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200603/1