Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make Duplicate records bold in a report

Status
Not open for further replies.

jgferg

MIS
Feb 11, 2002
7
US
Can any show me how I can make records in a report that are duplicate, in bold. I have a database that has two fields Polling Location and Ward, The polling location could have the same place but a different ward so giving you duplicates in the polling location. What I need to happen is to make just the duplicates bold on the report so that they stick out. Can anyone offer any suggestions. Thank you for your time and help.
 
You might need to replace the text "Bold" with an integer value with corresponds to the FontWeight = Bold.

Steve King


Dim strLastValue

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)

If Me.txtValue = strLastValue then
Me.txtValue = Me.txtValue.FontWeight = "Bold"
End If
strLastValue = Me.txtValue

End Sub Growth follows a healthy professional curiosity
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top