Ciao!

Utilizzando Visual Basic 6 (SP6) e Il Data Report Designer 6.0 sto cercando di modificare il formato del testo run-time di un campo associato, per la precisione, vorrei che, in un campo date, mi venisse fatto in grassetto i giorni sabato e domenica.
Ho provato così ma il report mi mostra le date dei sabati e delle domeniche in testo normale, come se nulla fosse.

Vi posto quello che ho fatto finora:

codice:
Option Explicit

Dim WithEvents myDescription As StdDataFormat

Private Sub DataReport_Initialize()

    Set myDescription = New StdDataFormat
    Set Me.Sections(3).Controls("txtData").DataFormat = myDescription

End Sub

Private Sub myDescription_Format(ByVal DataValue As StdFormat.StdDataValue)
    If Weekday(DataValue) = 1 Or Weekday(DataValue) = 7 Then
        Me.Sections(3).Controls("txtData").Font.Bold = True
    End If
    DataValue = Format(DataValue, "d ddd")
End Sub
Qualcuno può aiutarmi?

Ciao!