Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB Extensions » View Thread |
Messages 1 to 8 of 8 total |
Fastreport component for EDB2 |
Tue, Oct 27 2009 6:58 AM | Permanent Link |
Charles Tyson | This component allows you to use EDB tables and queries in Fastreport's
design screens. It was created by Terry Swiers. The files are for EDB 2.02 and Delphi 2006, but it's not difficult to adapt them for other versions. Attachments: fredb2.zip |
Tue, Oct 27 2009 7:14 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Charles,
<< This component allows you to use EDB tables and queries in Fastreport's design screens. It was created by Terry Swiers. The files are for EDB 2.02 and Delphi 2006, but it's not difficult to adapt them for other versions. >> Thanks very much (and to Terry . -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Oct 27 2009 11:09 AM | Permanent Link |
"Terry Swiers" | Charles,
> This component allows you to use EDB tables and queries in Fastreport's > design screens. It was created by Terry Swiers. The files are for EDB > 2.02 and Delphi 2006, but it's not difficult to adapt them for other > versions. I'm glad that you were able to find the component and post it. I've been so busy with my current project that I had not even had a chance to figure out which virtual machine I had these installed on. -- --------------------------------------- Terry Swiers Millennium Software, Inc. http://www.1000years.com http://www.atrex.com Atrex Inventory Control/POS - Big business features without spending big business bucks! Atrex Electronic Support Options: Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp Email: mailto:support@atrex.com Newsgroup: news://news.1000years.com/millennium.atrex Fax: 1-925-829-1851 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific) --------------------------------------- |
Fri, Oct 30 2009 5:16 AM | Permanent Link |
Charles Tyson | The Fastreport EDB query & table components as posted require you to
type in the SessionName and DatabaseName. The following changes in frxEDBEditor.pas will give you a dropdown list to select from. (I barely understand how this works, so feel free to point out my dunderheaded errors) 1. Locate the existing lines... procedure TfrxSessionNameProperty.GetValues; begin //>>> Sessions.GetSessionNames(Values); end; ....and replace them with... procedure TfrxSessionNameProperty.GetValues; begin Engine.GetSessionNames( Values ); end; 2. Locate the existing lines... procedure TfrxDataBaseNameProperty.GetValues; begin inherited; //>>> Session := Sessions.FindSession(TDBDataSet(TfrxCustomDataset(Component).DataSet).SessionName); // if Session <> nil then // Session.GetAliasNames(Values); end; ....and replace them with... procedure TfrxDataBaseNameProperty.GetValues; var aSession: TEDBSession; begin inherited; aSession := Engine.FindSession(TEDBDBDataSet(TfrxCustomDataset(Component).DataSet).SessionName); if aSession <> nil then aSession.GetDatabases( Values ); end; |
Mon, Nov 2 2009 9:32 AM | Permanent Link |
Tasos Savva | Charles
Thank you for your post. I will check it out on Delphi 2007 now. Thanks again. You saved me much time and troubles Charles Tyson wrote: This component allows you to use EDB tables and queries in Fastreport's design screens. It was created by Terry Swiers. The files are for EDB 2.02 and Delphi 2006, but it's not difficult to adapt them for other versions. |
Tue, Nov 3 2009 9:11 AM | Permanent Link |
Tasos Savva | I would like to share the component I borrowed from Charles ( which was created from Terry).
I made some changes and I tested it successfully with Delphi 2007, EDB 2.03, and FastReport version 4.8. The changes where only made to eliminate compilers errors as the initial code was made for different versions. Thanks again for the code. I hope that sharing this code will save time to some other programmers. Charles Tyson wrote: This component allows you to use EDB tables and queries in Fastreport's design screens. It was created by Terry Swiers. The files are for EDB 2.02 and Delphi 2006, but it's not difficult to adapt them for other versions. Attachments: fredb2.zip |
Mon, Jul 1 2013 11:44 AM | Permanent Link |
Edward Jones National Veterinary Services Limited | I maybe a little late to the game but I would also like to add my thanks for this excellent component! For those like me still dealing with legacy systems in Delphi 7 and looking for an alternative reporting module, I have found FastReports a much better alternative than others I have looked at. So in the spirit of the other contributors to this thread, I have included the files needed to get it running under D7, FastReports 4.14.3 and Elevate 2.12.2. I have not made any changes to the source code just the DPK and DCU files to get it running.
Thanks once again Charles/Terry/Tasos and anyone else, this is a life saver! Regards Edward Jones NVS Ltd UK ------ [Tasos Savva wrote: I would like to share the component I borrowed from Charles ( which was created from Terry). I made some changes and I tested it successfully with Delphi 2007, EDB 2.03, and FastReport version 4.8. The changes where only made to eliminate compilers errors as the initial code was made for different versions. Thanks again for the code. I hope that sharing this code will save time to some other programmers. Charles Tyson wrote: This component allows you to use EDB tables and queries in Fastreport's design screens. It was created by Terry Swiers. The files are for EDB 2.02 and Delphi 2006, but it's not difficult to adapt them for other versions.] Attachments: fredb2.zip |
Mon, Aug 26 2013 5:13 PM | Permanent Link |
Norman Clark Clark-Tech Inc. | Charles Tyson wrote:
This component allows you to use EDB tables and queries in Fastreport's design screens. It was created by Terry Swiers. The files are for EDB 2.02 and Delphi 2006, but it's not difficult to adapt them for other versions. ----------------------- Can anyone provide an example of a project that included the use of the FastReport frxEDBComponents component in use. I have installed the component in my Delphi XE and am using ElevateDB 2x in client/server application. Despite the component being installed, I am unable to see the Table or Query fields at design time. I am tired of beating my head against the wall and hoped that someone who used the component could drop a simple example in the binaries. I think it might have something to do with Session/DatabaseName settings for a client/server environment. I normally set these at run time. Thanks, ... Norm |
This web page was last updated on Friday, April 19, 2024 at 07:09 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |