hide an Image
Hi,
I have a sqlDataAcapter with a grapgic field. I want to hide tue image
control in the report in a row dosen?t have a picture.
in BeforePrint I add this code
if LinPrec['Imagen'] = null then
BbImage1.Visible:=false
else
BbImage1.Visible:= true;
but it?s always invisible
Thanks
I have a sqlDataAcapter with a grapgic field. I want to hide tue image
control in the report in a row dosen?t have a picture.
in BeforePrint I add this code
if LinPrec['Imagen'] = null then
BbImage1.Visible:=false
else
BbImage1.Visible:= true;
but it?s always invisible
Thanks
This discussion has been closed.
Comments
Tech Tip: RAP: Checking for Null Data values
----------------------------------------------
The DataPipeline.FieldObjects[] array property provides access to the
TppField objects. TppField has an IsNull boolean property.
The notation is DataPipeline.FieldObjects['FieldName'].IsNull
example:
if Customer.FieldObjects['Addr1'].IsNull then
ShowMessage('field value is null');
--
Tech Support mailto:support@digital-metaphors.com
Digital Metaphors http://www.digital-metaphors.com
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com