|
mfnickster -> RE: Access Report question using VB (9/4/2003 13:20:30)
|
quote:
ORIGINAL: John316 IT did not work, any other idea's? John316 Hmmm, I tested it on one of my own reports, and it worked okay, so I'm not sure what's missing in your case. Maybe the field names aren't right? Check to make sure the "On Format" property of the Detail section shows "[Event Procedure]," so it knows to run when that event occurs. Also try changing the prodedure a little at a time, starting with the simplest form of expression... do this first: If (True) Then
Me.Section(acDetail).Visible = False
Else
Me.Section(acDetail).Visible = True
End If That should hide all the rows. If it does, then changing the "Visible" property works right. Then, change the condition to "If ([itemA]=0)" to see if that is successful. You can hack through it a piece at a time, adding conditions as you go. Let me know what happens when you try it. If it doesn't work, I'm not sure what to try next until we know why it doesn't work. [8|] Best regards, - Nickster
|
|
|
|