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

AddFields in runtime

edited May 2002 in General
Soryy I know there is a description or example but I cant't find.
Within a JIT Pipeline I should create Fields in Runtime.
ppJITPipeline.AddFields( .... and then ?

Where is a example ?
Thanks Erich Rieder

Comments

  • edited May 2002
    Here's an example of creating a new field at runtime:

    lField := TppField.Create(nil);
    lField.DataPipeline := ppJITPipeline1;
    lField.Name := lFieldName;
    lField.FieldName := lFieldName;
    lField.DataType := lDataType;
    lField.FieldLength := lFieldLength;
    lField.DisplayWidth := lFieldLength;
    lField.Alignment := taRightJustify

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited May 2002
    I think I check it - thanks Alexander

    "Alexander Kramnik (Digital Metaphors)" schrieb
This discussion has been closed.