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
  1. Home
  2. General Programming
  3. C#
  4. IIf Statement - Different Problem With RDLC

IIf Statement - Different Problem With RDLC

Scheduled Pinned Locked Moved C#
help
3 Posts 2 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.
  • P Offline
    P Offline
    Paramu1973
    wrote on last edited by
    #1

    Hi, Iam using VS2010, while generating RDLC report, Iam using IIf statement for calculations. But I found a typical problem which is very different. Because from the Code.Functions for calculation, simply it's working fine, when I give the below command directly

    =Code.AddMyNet(Sum(ReportItems!itm_value.Value))

    But I wish to give like the below command, It's giving error "local report processing"

    =IIf((ReportItems!Textbox15.Value ="CARRY FORWARDED "), Code.AddMyNet(Sum(ReportItems!itm_value.Value)), Nothing)

    Actually Function AddMyNet() used to calculate the pagewise running value total. And hence any guidances will be helpful:cool: Thanks & Regards Paramu

    K 1 Reply Last reply
    0
    • P Paramu1973

      Hi, Iam using VS2010, while generating RDLC report, Iam using IIf statement for calculations. But I found a typical problem which is very different. Because from the Code.Functions for calculation, simply it's working fine, when I give the below command directly

      =Code.AddMyNet(Sum(ReportItems!itm_value.Value))

      But I wish to give like the below command, It's giving error "local report processing"

      =IIf((ReportItems!Textbox15.Value ="CARRY FORWARDED "), Code.AddMyNet(Sum(ReportItems!itm_value.Value)), Nothing)

      Actually Function AddMyNet() used to calculate the pagewise running value total. And hence any guidances will be helpful:cool: Thanks & Regards Paramu

      K Offline
      K Offline
      Karen Mitchelle
      wrote on last edited by
      #2

      Hi, please refrain on posting same question on different forums. Other members won't feel happy about this. Thanks.

      Don't mind those people who say you're not HOT. At least you know you're COOL. I'm not afraid of falling, I'm afraid of the sudden stop at the end of the fall! - Richard Andrew x64

      P 1 Reply Last reply
      0
      • K Karen Mitchelle

        Hi, please refrain on posting same question on different forums. Other members won't feel happy about this. Thanks.

        Don't mind those people who say you're not HOT. At least you know you're COOL. I'm not afraid of falling, I'm afraid of the sudden stop at the end of the fall! - Richard Andrew x64

        P Offline
        P Offline
        Paramu1973
        wrote on last edited by
        #3

        Ok. Karen...I will followup

        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