Results 1 to 2 of 2

Thread: output in data report

  1. #1

    Thread Starter
    Hyperactive Member Jupiter-SL9's Avatar
    Join Date
    Apr 2001
    Location
    Porto Alegre
    Posts
    289

    output in data report

    Hi
    Im using data report to print reports.
    I have a field that return 1 or 0.
    But in report, must be appear "True" to 1 and "False" to 0.
    How can i do it?

    Thanks
    Daniel
    If you want to be loved, first love who God gave to you.

    "Se você quer ser amado, primeiro ame quem Deus te deu"

    (Acts 20:35)

  2. #2
    Hyperactive Member divined's Avatar
    Join Date
    Aug 2004
    Location
    Thessaloniki, Greece
    Posts
    447

    Re: output in data report

    You could define an Unbound string field. Then create a formula in which you check the value of your database field. If it 0 then you return False otherwise you return True.

    Code:
    If {Table.Field} = 0 Then
      "False"
    Else
      "True"
    Try it out and tell me it works! I have a similar problem but in a slightly different context. But, I`ll make another thread on that.
    SteadFast!

Posting Permissions

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



Click Here to Expand Forum to Full Width