Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Strange Behaviour of Crystal Report

Strange Behaviour of Crystal Report

Scheduled Pinned Locked Moved ASP.NET
databaseoraclevisual-studiotutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Girish481
    wrote on last edited by
    #1

    Hello, I have created one crystal report in VS 2005. Its datasource is ref cursur returned by oracle stored procedure and it is working fine except one formula filed which i have code like following: Here CURSPKG_JOIN is the name of oracle package and OPEN_JOIN_CURSOR1 is the name of stored procedure. Name of formula field is:finalres iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.R1}='G' or {CURSPKG_JOIN.OPEN_JOIN_CURSOR1.R2}='G' or {CURSPKG_JOIN.OPEN_JOIN_CURSOR1.R3}='G' or {CURSPKG_JOIN.OPEN_JOIN_CURSOR1.R4}='G' or {CURSPKG_JOIN.OPEN_JOIN_CURSOR1.R5}='G' or {CURSPKG_JOIN.OPEN_JOIN_CURSOR1.R6}='G', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='1','FIRST DIVISION BY GRACE', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='2','SECOND DIVISION BY GRACE', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='3','THIRED DIVISION BY GRACE', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='C','SUPPLEMENTARY', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='F','FAILED', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='P','PASSED', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='Z','PARTIALLY PASSED', 'xx'))))))) , iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='1','FIRST DIVISION', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='2','SECOND DIVISION', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='3','THIRED DIVISION', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='C','SUPPLEMENTARY', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='F','FAILED', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='P','PASSED', iif({CURSPKG_JOIN.OPEN_JOIN_CURSOR1.FR}='Z','PARTIALLY PASSED', 'yy')))))))) and i put this formula filed on to the report; but it is printing the required result at somewhere and somwhere no print (even, i have given the false part i.e. 'xx' and 'yy') even with the same condition. I have double checked the data in the table and just for checking; i have placed the FR column on the report, which is carrying right value though. FR column is varchar2 length 1 character. Please guide me where i am missing....! Thanks & Regards Girish Sharma

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups