Removing RB events causes Invalid Property error
Here's a strange one for you...
My app previously defined certain events for a few reports such as
"AfterPrint", "BeforePrint", etc. I have since modified the app in such a
way that these events are no longer required. Unforunately, if I remove
them, the app will no longer load and run. On startup I get an "Invalid
Property" error. To get the program working again, I simply create the
event(s) again and use comment delimiters in the code sections to keep
Delphi from removing them. I guess I can continue to work with it this way
but it makes for some confusion down the road.
Any ideas? TIA.
Regards,
Al
My app previously defined certain events for a few reports such as
"AfterPrint", "BeforePrint", etc. I have since modified the app in such a
way that these events are no longer required. Unforunately, if I remove
them, the app will no longer load and run. On startup I get an "Invalid
Property" error. To get the program working again, I simply create the
event(s) again and use comment delimiters in the code sections to keep
Delphi from removing them. I guess I can continue to work with it this way
but it makes for some confusion down the road.
Any ideas? TIA.
Regards,
Al
This discussion has been closed.
Comments
if that would make any diff. Thanks again.
If you are loading report templates into your application, note that the
event reference is saved down when you save your template. Try manually
loading the templates and re-saving them without the events present.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Regards,
Al