Access violation in rbRAP117.bpl
Using Delphi 7 and Report Builder 11.04 Enterprise. If the following code is
put into the BeforeGenerate event of the Detail band, it compiles OK but
when the report is run an access violation in rbRAP117.bpl occurs.
if current_pupils.'gender' = 'F' then
DBCheckBox1.CheckBoxColor := clFuchsia
else
DBCheckBox1.CheckBoxColor := clBlue;
Now obviously the code shouldn't compile, the if statement should read:
if current_pupils['gender'] = 'F' then
Can anything be done about this to stop the code compiling?
Paul Hunt
WCBS Ltd.
put into the BeforeGenerate event of the Detail band, it compiles OK but
when the report is run an access violation in rbRAP117.bpl occurs.
if current_pupils.'gender' = 'F' then
DBCheckBox1.CheckBoxColor := clFuchsia
else
DBCheckBox1.CheckBoxColor := clBlue;
Now obviously the code shouldn't compile, the if statement should read:
if current_pupils['gender'] = 'F' then
Can anything be done about this to stop the code compiling?
Paul Hunt
WCBS Ltd.
This discussion has been closed.
Comments
to support@digital-metaphors.com if you would like the fix.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com