L
linda
I am working on a report and want to hide the label for a
fax number if the number is a duplicate. I have written
the code (below)to hide the label for the cell# and the
fax# if it is null. Is there anyway to just add a couple
of lines of code to hide the label if the cell is a
duplicate?
Thanks,
Linda
Private Sub Detail_Format(Cancel As Integer, FormatCount
As Integer)
Dim blnCell As Boolean
Dim blnFax As Boolean
blnCell = Not IsNull(user_cell)
blnFax = Not IsNull(user_fax)
user_cell_Label.Visible = blnCell
user_fax_Label.Visible = blnFax
End Sub
fax number if the number is a duplicate. I have written
the code (below)to hide the label for the cell# and the
fax# if it is null. Is there anyway to just add a couple
of lines of code to hide the label if the cell is a
duplicate?
Thanks,
Linda
Private Sub Detail_Format(Cancel As Integer, FormatCount
As Integer)
Dim blnCell As Boolean
Dim blnFax As Boolean
blnCell = Not IsNull(user_cell)
blnFax = Not IsNull(user_fax)
user_cell_Label.Visible = blnCell
user_fax_Label.Visible = blnFax
End Sub