Referencing fields as pipelinename['fieldname'] should give a error if the field or pipe does not exist. This is important if the dataset SQL is changed.
Can there perhaps be a property on the report to set strict?
Thanks for the feedback. Are you referring to a compiler error or runtime error? An error is given at runtime when the field name is incorrect however it is not very descriptive. We will look at providing a more useful runtime error when a field name does not exist.
I do not believe Delphi gives a compiler error when field names are incorrect but we'll add this to our list of possible enhancements for RAP.
This is working as designed. After further research, the error I was receiving in my test app was due to a type mismatch and was not directly related to the incorrect field name per se. We will consider adding a descriptive runtime error to RAP when the field name is not found for a future release of ReportBuilder.
Comments
Thanks for the feedback. Are you referring to a compiler error or runtime error? An error is given at runtime when the field name is incorrect however it is not very descriptive. We will look at providing a more useful runtime error when a field name does not exist.
I do not believe Delphi gives a compiler error when field names are incorrect but we'll add this to our list of possible enhancements for RAP.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Have I got that right?
Lawrence
Lawrence
DBTEXT objects.
It printed / previewed with no errors messages showing.
Lawrence
This is working as designed. After further research, the error I was receiving in my test app was due to a type mismatch and was not directly related to the incorrect field name per se. We will consider adding a descriptive runtime error to RAP when the field name is not found for a future release of ReportBuilder.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Are you confirming that this behaviour does not happen in the current version.
Is there a patch that I might have to do it?
Thank you
Lawrence