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 3:31AM
    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 3:31AM
    That's a good idea, thanks.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.