SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Displaying the content of a field using CR formula editor

    Hi guys can anyone help me on how to display the content of the field using formula editor? For example;

    Code:
    if{employee.prevwork} = 'SALES EXECUTIVE' then
       Chr(254)
    else
       //display the content of the field...

  2. #2
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,880
    Mentioned
    48 Post(s)
    Tagged
    0 Thread(s)
    What language is this? To compare strings and use ifs in C#:

    if (employee.prevwork == "SALES EXECUTIVE")
    {
    Char(254);
    }
    else
    {

    }

  3. #3
    SitePoint Addict
    Join Date
    Nov 2005
    Posts
    396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The stated code in my post is under Crystal Report, particularly the code was coded in the formula field in my crystal report design.


Bookmarks

Posting Permissions

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