Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

StringList bug in 12.04

edited June 2011 in RAP
Hi,

Came across a bug that works correctly in 12.03 and is broken in 12.04.

When declaring a StringList in RAP and then doing MyStringList.Add(MyValue),
nothing is added.

Is this a known issue or should I submit a recreation.

Thanks

-Jack

Comments

  • edited June 2011
    Please provide steps to reproduce or perhaps create a simple example and
    email to support@ in zip format. I tried the following simple test and did
    not encounter any issue.

    var
    lStringList: TStringList;
    begin

    lStringList := TStringList.Create;
    lStringList.Add('Hello world');

    Label1.Caption := lStringList[0];

    lStringList.Free;

    end;




    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2011
    Turned out I was missing "if Report.InitializeParameters then" before
    "Report.PrintToDevices;".


This discussion has been closed.