Delphi Components For R&R Version 6.5 XBASE and SQL Editions ============================================================ 24th October 1995 You are free to copy and distribute these files as you wish. Please email comments,bugs(+fixes if poss!),enhancements to : cbrooksbank@msn.com R&R XBASE Installation ---------------------- 1. Copy RRX65.PAS and RRXINT.PAS to the same directory. 2. Start Delphi. 3. Select Options Menu, Install Components,Add,Browse,RRX65.PAS. 4. Select OK, dont save changes and Delphi compiles the unit into your library. 5. Thats it you now have a new component on your "Data Access" tab. R&R SQL Installation -------------------- 1. Copy RRSQL65.PAS and RRSQLINT.PAS to the same directory. 2. Start Delphi. 3. Select Options Menu, Install Components,Add,Browse,RRSQL65.PAS. 4. Select OK, dont save changes and Delphi compiles the unit into your library. 5. Thats it you now have a new component on your "Data Access" tab. Methods ------- ( All methods assume ReportLibrary contains a valid library ) Execute - Runs report respecting object properties. Run - Runs report respecting object properties. Loadfromreport - Change objects properties to reflect defaults saved with report. SaveToFile(filename) - Save object propertys to ASCII control file LoadFromFile(filename) - Load object propertys from ASCII control file Notes ----- The active property never changes to TRUE. But double clicking on it runs the report at design (or run) time. Yes I know it would have been much nicer to have common stuff in a Ancestor component. But common calls are in different DLL's depending on SQL/XBASE and after struggling I gave up and went back to cut and paste. Still no custom property editors. More properties are autoloaded from report. To stop this overwriting your properties this only happens at design time and if you change the report library or reportname. In addition it asks for confirmation. To load properties from report at runtime use the new method LoadFromReport. Whats New --------- 1. Supports R&R XBASE (new XBASE only properties) as well as SQL edition. 2. Uses much less memory in data and stack segment ( uses heap in preference). This means you are less likely to see the Runtime error 202 as you run out of stack space when having several reports open at same time. 3. Active property allows you to run reports at design time just double click on Active property. ( Removed bug with this from last version ). 4. New methods SaveToFile,LoadFromFile and Loadfromreport. 5. Initialises R&R DLL at object creation time and closes at object destruction. This should speed up report printing a bit.