May 2, 2003 #1 KimVong IS-IT--Management Sep 13, 2002 90 US I'm trying to create a report that will hid the rows that have values of zeros. for instance, this is what I have now des price A 1 B 2 C 0 How can I make the report to just show des price A 1 B 2 Any help is appreciate. Kim
I'm trying to create a report that will hid the rows that have values of zeros. for instance, this is what I have now des price A 1 B 2 C 0 How can I make the report to just show des price A 1 B 2 Any help is appreciate. Kim
May 2, 2003 1 #2 CosmoKramer Programmer May 29, 2001 1,730 US In the On Format event of your report's detail section put code like this: Code: If Me.price = 0 Then Cancel = True End If This will cancel the detail line if price = 0. Upvote 0 Downvote
In the On Format event of your report's detail section put code like this: Code: If Me.price = 0 Then Cancel = True End If This will cancel the detail line if price = 0.
May 2, 2003 Thread starter #3 KimVong IS-IT--Management Sep 13, 2002 90 US CosmoKramer what is Me.price? I know what price is but what is "Me"? thanks Upvote 0 Downvote
May 2, 2003 #4 CosmoKramer Programmer May 29, 2001 1,730 US The Me property is basically a reference to the current form or report. It's a way of using a shortcut instead of the full reference..... Upvote 0 Downvote
The Me property is basically a reference to the current form or report. It's a way of using a shortcut instead of the full reference.....
May 2, 2003 #5 cmgaviao Programmer Oct 30, 2002 37 US If you based the report on a query, just add that criteria to the query and don't return rows where price =0 Upvote 0 Downvote
If you based the report on a query, just add that criteria to the query and don't return rows where price =0