markswan20
Technical User
Hello again apologies for asking 2 questions straight after one another.
I am trying to run a report that will only display data in specific boxes and if the box has no data in ignore it.
I am using code for a single box but my problem i have 10 fields on the form qty 1 - qty 10 now when i view in print preview i have a huge gap between qty 1 and qty 10. This is because qty 1 - qty 9 are my products and qty 10 is my type of installation. Is there a way so that if the other boxes are empty they wont display and qty 10 ends up directly below qty 1.
The code i am using for the single box is
Private Sub Detail_Format(Cancel As Interger, FormatCount As Integer)
If Me.QTY_1 = "0" Then Cancel = True
End Sub
Kind Regards
Mark Swansborugh
I am trying to run a report that will only display data in specific boxes and if the box has no data in ignore it.
I am using code for a single box but my problem i have 10 fields on the form qty 1 - qty 10 now when i view in print preview i have a huge gap between qty 1 and qty 10. This is because qty 1 - qty 9 are my products and qty 10 is my type of installation. Is there a way so that if the other boxes are empty they wont display and qty 10 ends up directly below qty 1.
The code i am using for the single box is
Private Sub Detail_Format(Cancel As Interger, FormatCount As Integer)
If Me.QTY_1 = "0" Then Cancel = True
End Sub
Kind Regards
Mark Swansborugh