Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
RAP
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Null values checking
rbuser
October 2004
edited October 2004
in
RAP
I am having trouble determining if a field has a null value.
I tried doing this - if pipeEmployeeList['Date'] <> null then Value := 'not
specified' else 'OK'; but I get 'OK' result even though the record has null
value.
Thank you,
Peter
Comments
nardmoseley
October 2004
edited October 2004
----------------------------------------------
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
rbuser
October 2004
edited October 2004
That's it! Thank you, I could not find anything about this in the RB help.
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