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

Howto create TppField in code

edited July 2004 in General
I need to create some TppFields run time, and do it like this:

procedure TForm1.SpeedButton2Click(Sender: TObject);
var ppField: TppField;
begin
ppField := TppField.Create(self);
ppField.FieldName := 'Test';
ppField.DataType := dtInteger;
ppJITpipeline.AddField(ppField);
end;

But when the application terminates, I get an Access Violation. Whats
missing?

Carl

Comments

This discussion has been closed.