Delphi and Kylix

Moderators: pritaeas
Number of threads: 7264
Number of posts: 19073

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
fastreport and stream Posted by mbranco1975 on 29 Sept 2011 at 2:33 AM
Hi.

I'va this code:

procedure TfmArtistas.Button1Click(Sender: TObject);
var
   stream : TStream;
begin
   stream := TStream.create;
   mtRelatorios.Locate('idrelatorios',1,[]);    // idreport - number of report
   mtRelatoriosrelatorio.SaveToStream(stream);  // mediumtext field with report
   stream.Position := 0;
   frRelatorio.LoadFromStream( stream );        // load report
   frRelatorio.PrepareReport();
   frRelatorio.ShowPreparedReport;
   stream.free;
end;


I get an abstract error.

Where is my error? what is wrong?

Thank's in advance

Marco Branco
Report
Re: fastreport and stream Posted by wowgoldforsale on 3 Jan 2012 at 6:56 PM
thanks for sharing
It was interesting listening to [url=http://www.bestwowgolds.com]wow gold[/url]NPR this morning to hear the difficulties involved in developing a "no-fly" zone over Libya by LTG Deptula and others.
It would appear that the efforts in Afghanistan have proven taxing and the AF is suffering a poverty of resources for fuelers and multi-role[url=http://www.terausgold.com]tera gold[/url]
fighters.
9 years later, we still use F-15Es, B-1s[url=http://www.buydiablo3usgold.com]buy diablo 3 gold[/url], and F16s when a simple single engine prop could do the mission better, safer and cheaper.b




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.