How can I access db.pas related stuff?

How can I access db.pas related stuff from my report?

So basically, I want to check a db field for null values:

if(MasterData1.DataSet.GetFieldByName("Field1").IsNull())
{
//...
}


Thanks,
Vasile

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:33PM
    typically in the obp event of the band or object connected to the dataset.
    also to check for null report component property convert nulls must be set to false
    or you must check for the underlying datatype ie '' or numeric value.
    ;)
  • edited 6:33PM
    That's a good idea, thanks.

Leave a Comment