Dec 31, 2001 #1 pdtit Technical User Nov 4, 2001 206 BE Hey, I have the following question on a report to print out : My report is in fact a ticket from a POS-system (6cm) Is it possible to hide a field from my report if the value in this field is 0 ? (it is the price-field, format as Currency) Regards, Peter
Hey, I have the following question on a report to print out : My report is in fact a ticket from a POS-system (6cm) Is it possible to hide a field from my report if the value in this field is 0 ? (it is the price-field, format as Currency) Regards, Peter
Dec 31, 2001 #2 CosmoKramer Programmer May 29, 2001 1,730 US In the On Format event of the section where Price appears, put logic like this: Code: If Me.Price = 0 Then Me.Price.Visible = False Else Me.Price.Visible = True End If Upvote 0 Downvote
In the On Format event of the section where Price appears, put logic like this: Code: If Me.Price = 0 Then Me.Price.Visible = False Else Me.Price.Visible = True End If
Jan 9, 2002 Thread starter #3 pdtit Technical User Nov 4, 2001 206 BE Splendid. I was thinking and thinking and thinking, but could't see the light anymore... I never thought it was that simple. Even by reading the code, I already knew it would work. Thx a lot, PdtIt Upvote 0 Downvote
Splendid. I was thinking and thinking and thinking, but could't see the light anymore... I never thought it was that simple. Even by reading the code, I already knew it would work. Thx a lot, PdtIt