Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2003
    Posts
    280

    Unanswered: How can I make a text bold in a textbox with an if statement on a report?

    For instance, if Amount > 1,500 then bold the text in the textbox. I want to do this for a report. I try textbox.bold but no luck on it.

  2. #2
    Join Date
    Sep 2003
    Location
    T.O.
    Posts
    326
    Lansing,

    Use the Detail_Format event, and sub the appropriate field names:

    If Me.times_borrowed < 8 Then
    Me.articlename.FontBold = True
    Else
    Me.articlename.FontBold = False
    End If
    All code ADO/ADOX unless otherwise specified.
    Mike.

  3. #3
    Join Date
    Apr 2003
    Posts
    280
    doh! I was thinking of Visual basic 6, which they use textbox.bold.

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •