CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    42

    using if condition in report on parama

    i have a parameter in the report if the parameter value is R i need to display the field residential add else company address how do i write teh formula to display one of the 2 fields

  2. #2
    Join Date
    Aug 2007
    Posts
    180

    Re: using if condition in report on parama

    try something like

    Code:
    select {?MyParam}
        case "R" : {TABLE.RESIDENTIAL_ADDRESS}
        case "C" : {TABLE.COMPANY_ADDRESS}

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

Featured