quinta-feira, 19 de março de 2009

out of Memory no FastReport

After a long time, i resolve the problem of "Out of memory" puting this line in Query Create:
CODE


{ TfrxIBXQuery }

constructor TfrxIBXQuery.Create(AOwner: TComponent);
begin
FQuery := TIBQuery.Create(nil); FQuery.UniDirectional := True; // this line...
Dataset := FQuery; SetDatabase(nil); inherited;
end;

Out of memory errors disapears.

Mais informações: http://www.fast-report.com/en/forum/index.php?showtopic=2383

2 comentários:

FABIO MATTE disse...

E em que lugar eu colocaria esse código, ja estou apanhando aqui e nao consegui entender como usar ele.

Alessandro Palma disse...

Coloque na propriedade do IBQuery... ! FUNCIONA !