Results 1 to 13 of 13

Thread: Show Fields in Reports Only Which have 0

  1. #1

    Thread Starter
    Junior Member Kernel^Doli's Avatar
    Join Date
    May 2005
    Posts
    22

    Show Fields in Reports Only Which have 0

    Hello Friends!
    I am building a project in which i want to show only those fields in Crystal Reports which have 0 Value.
    I am using: -

    1) Crystal Reports
    2) One Table


    Also attaching my Project so that i got a perfect answer.


    Regards!
    Attached Files Attached Files

  2. #2
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: Show Fields in Reports Only Which have 0

    I would create a formula, instead of using the field. then:

    If {fieldname} = 0 then "0" else " "

  3. #3

    Thread Starter
    Junior Member Kernel^Doli's Avatar
    Join Date
    May 2005
    Posts
    22

    Re: Show Fields in Reports Only Which have 0

    I have so many columns like
    January, February, March... December
    In this case what u will do?

  4. #4

    Thread Starter
    Junior Member Kernel^Doli's Avatar
    Join Date
    May 2005
    Posts
    22

    Re: Show Fields in Reports Only Which have 0

    We can use here a formula like:
    SelectionFormula = "IIF{Fee.April}{Fee.August}{Fee.December}{Fee.February}{Fee.January}{Fee.July}{Fee.June}{Fee.March}{ Fee.May}{Fee.November}{Fee.October}{Fee.September} = 0 Then "0" Else "Fee Paid"
    But i don't know the correct syntax of this formula.
    Please any brother can guide me.
    I am looking for this formula or any other way to solve this

    Thanks in advance.

    Regards!
    Kernel

  5. #5
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Show Fields in Reports Only Which have 0

    hope this will help
    Attached Files Attached Files

  6. #6

    Thread Starter
    Junior Member Kernel^Doli's Avatar
    Join Date
    May 2005
    Posts
    22

    Re: Show Fields in Reports Only Which have 0

    Yes brother,
    Thank you very much for help
    But please tell me how you did this?


    Thanks in Advance
    Waiting for ur reply.

    Kernel!

  7. #7
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Show Fields in Reports Only Which have 0

    open my report then under main menu, goto report then select expert

  8. #8

    Thread Starter
    Junior Member Kernel^Doli's Avatar
    Join Date
    May 2005
    Posts
    22

    Re: Show Fields in Reports Only Which have 0

    I think u did not see my Crystal Report File...
    I tried what u say, but still have some problems
    My Table has 12 coloums in which program must have to check value 0 from these 12 coloums.
    If i put 0 value in 12 coloumns then program show me the result in report, other wise blank. I want that if just a single coloumn have 0 value then the complete 12 columns show me the record.

  9. #9
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Show Fields in Reports Only Which have 0

    the problem is i can not open your report, post your report and the database connecting to it, just the report and the database, not the whole project

  10. #10

    Thread Starter
    Junior Member Kernel^Doli's Avatar
    Join Date
    May 2005
    Posts
    22

    Re: Show Fields in Reports Only Which have 0

    Here i am attaching my database and report...

    I want if only one Field e.g. "March" have '0' Then the whole row show. If any row don't have '0' value then Now show.


    Thanks for helping.

    Kernel
    Attached Files Attached Files

  11. #11

    Thread Starter
    Junior Member Kernel^Doli's Avatar
    Join Date
    May 2005
    Posts
    22

    Re: Show Fields in Reports Only Which have 0

    Any Sugession " kulitag " ?

    Waiting for ur reply.

  12. #12

    Thread Starter
    Junior Member Kernel^Doli's Avatar
    Join Date
    May 2005
    Posts
    22

    Re: Show Fields in Reports Only Which have 0

    Any Sugession " kulitag " ?

    Waiting for ur reply.

  13. #13
    Hyperactive Member
    Join Date
    Mar 2005
    Location
    Manila, Philippines
    Posts
    486

    Re: Show Fields in Reports Only Which have 0

    can't really understand but i really try though
    Attached Files Attached Files

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