---
url: /flow/guide/scripting-reference/classes/data-set/dataset.hasdetail.md
---

# Dataset.HasDetail

## Declaration

`property HasDetail : boolean;`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  if DATASET.HasDetail then
LogInfo('This dataset has child datasets. Those datasets don't necessarily have data. Test them with EOF');
end;
```

## Description

Returns True if the dataset has children datasets. The child datasets do not need to contain any records for this to return True.
