Change crosstab column heading using format editor
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Change crosstab column heading using format editor

Hybrid View

  1. #1
    Join Date
    Nov 2012
    Posts
    2

    Smile Change crosstab column heading using format editor

    Hi everyone,

    Very new to Crystal and in need of help please

    Code:
    if GridRowColumnValue (CHOICES.LATE_FLG) = "T" then "On Time"
    Else
    if GridRowColumnValue (CHOICES.LATE_FLG)= "F" then "Late"
    At the moment my column headings are just F or T so I've tried changing it by right clicking on the column, clicking on Format Field bringing up the Format Editor | Common Tab and clicking on the Display String.
    On save I get "There is an error in this formula etc... then the next dialogue box says The ) is missing.
    Help!
    Cheers
    Mifty

  2. #2
    Join Date
    Jul 2005
    Posts
    1,074

    Re: Change crosstab column heading using format editor

    From where you get GridRowColumnValue (CHOICES.LATE_FLG)
    I think that the right name is {CHOICES.LATE_FLG}
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  3. #3
    Join Date
    Nov 2012
    Posts
    2

    Re: Change crosstab column heading using format editor

    Hi JG,

    Thanks for replying

    Tried your solution and it accepted the formula but both columns were labelled as "on time".
    Any ideas?

    Cheers
    Mifty

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center