Getting sheet content/children shows no children


I’m currently trying to iterate through sheets. I took a look at several scripts and they all seem to do this:

tell application "DEVONthink Pro"
	set rec_list to the selection
	repeat with rec in rec_list
		if type of rec is not sheet then error "A sheet must be selected."
		repeat with row in children of rec
		end repeat
	end repeat
end tell

I created a sheet with several columns and two rows of content. In the Replies-Part of the Script Editor I get this output:

So it seems that it is not able to “see” the rows of the sheet. Is there something certainly very obvious which I’m not seeing?

Thanks and bye,

Only groups/feeds have children whereas sheets are just documents/records. You might have a look at these properties…

number of columns (integer, r/o) : Number of columns of the current sheet.
number of rows (integer, r/o) : Number of rows of the current sheet.
selected column (integer) : Index (1-n) of selected column of the current sheet.
selected columns (list, r/o) : Indices (1-n) of selected columns of the current sheet.
selected row (integer) : Index (1-n) of selected row of the current sheet.
selected rows (list, r/o) : Indices (1-n) of selected rows of the current sheet.

…and these commands…

get cell at
add row
delete row at

…and the scripts in ~/Library/Application Support/DEVONthink Pro 2/Scripts/Sheets.

Oh! Seems that I can get the count only from the window, not from the record.