×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Checkbox On An Actuate Report

Checkbox On An Actuate Report

Checkbox On An Actuate Report

(OP)
I have a boolean value (Y or N) that I would like to show in the actuate report as a checkbox rather than as a text field.  For example, the check box will be checked if the boolean value in the database is Y and unchecked if the boolean value in the database is N.  Please advise...

Thanks in advance...

RE: Checkbox On An Actuate Report

Add a string variable to your DataRow (i.e. strMyBool).
Place this field on your report and set its Font to Wingdings (and you'll probably want to increase the Font Size over the other field sizes).
Then override the OnRead Method of the DataRow:

CODE

Sub OnRead( )
    Super::OnRead( )
    If (blnFromRow) Then
        strMyBool = "รพ"
    Else
        strMyBool = "o"
    End If
End Sub
The strange characters being assigned to strMyBool can be copied and pasted from the Character Map utility to assign either a unchecked box or a checked box character to your output.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close