Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

How can I check a data-object for NULL?

edited February 2003 in General
Hello,

A sql-statement gives me a field with double-values. The value of this field
can also be 'NULL'. How can I check in a OnPrint-event whether the field is
'NULL' or not?

Thanks,
Daniela

Comments

  • edited February 2003
    > A sql-statement gives me a field with double-values. The value of this
    field
    is

    There is a TField property .IsNull. Does that work?

    Ed Dressel
    Team DM
  • edited February 2003
    Hi Ed,

    in RAP that doesn?t work.

    Daniela


  • edited February 2003
    TppField.IsNull is supported in RAP. Check the pipeline's current field
    object and check IsNull on that TppField object from the data pipeline:

    if Biolife.FieldObjects['Common_Name'].IsNull then


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.